rpage
rpage copied to clipboard
This not work in Jquery 3.1.1
Change function calculateWidth() in line 161 to below
this.calculateWidth = function() { var width = 0; for (var i = 0; i < $container.find("li").length; i++) { var getWidthA = $container.find("li").eq(i).children("a").eq(0).outerWidth() if (typeof getWidthA != 'undefined') { width += getWidthA } var getWidthSpan = $container.find("li").eq(i).children("span").eq(0).outerWidth() if (typeof getWidthSpan != 'undefined') { width += getWidthSpan } } return width; }