vendor/assets/javascripts/uikit/core/scrollspy.js in uikit2-rails-0.1.5 vs vendor/assets/javascripts/uikit/core/scrollspy.js in uikit2-rails-0.1.6
- old
+ new
@@ -1,6 +1,6 @@
-/*! UIkit 2.24.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
+/*! UIkit 2.25.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
(function(UI) {
"use strict";
var $win = UI.$win,
@@ -84,9 +84,10 @@
if (!inview && inviewstate && $this.options.repeat) {
if (element.data('scrollspy-idle')) {
clearTimeout(element.data('scrollspy-idle'));
+ element.data('scrollspy-idle', false);
}
element.removeClass("uk-scrollspy-inview").toggleClass(toggle);
element.data('inviewstate', false);