vendor/assets/javascripts/uikit/core/utility.js in uikit2-rails-0.1.3 vs vendor/assets/javascripts/uikit/core/utility.js in uikit2-rails-0.1.4

- old
+ new

@@ -1,6 +1,6 @@ -/*! UIkit 2.24.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ +/*! UIkit 2.24.2 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ (function(UI) { "use strict"; var stacks = []; @@ -158,10 +158,10 @@ var skip = false, firstvisible = elements.filter(":visible:first"), offset = firstvisible.length ? (firstvisible.position().top + firstvisible.outerHeight()) - 1 : false; // (-1): weird firefox bug when parent container is display:flex - if (offset === false) return; + if (offset === false || elements.length == 1) return; elements.each(function() { var column = UI.$(this);