Uncaught ReferenceError: total is not defined
Author: FabiolaDErcoleCreated Mar 26, 2021Updated May 8, 2021
I get this error
Uncaught ReferenceError: total is not defined
at s.fn.init.e.fn.onepage_scroll (jquery.onepage-scroll.min.js?ver=1.0.186:1)
at onepage.js?ver=1.0.186:3
at onepage.js?ver=1.0.186:15And it gets me to this function
$.fn.onepage_scroll = function(options){
var settings = $.extend({}, defaults, options),
el = $(this),
sections = $(settings.sectionContainer)
total = sections.length,
status = "off",
topPos = 0,
leftPos = 0,
lastAnimation = 0,
quietPeriod = 500,
paginationList = "";
...What should I do?
Source: peachananr/onepage-scroll