From eb9f6f83ec8a37058e702cde16073fdbd6fa983c Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 11 May 2015 16:14:41 -0400 Subject: [PATCH] #1724 err actualyl remove debug --- src/definitions/modules/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 48ca1e888..d34ea87c0 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -2256,7 +2256,7 @@ $.fn.dropdown = function(parameters) { onScreen ; $currentMenu.addClass(className.loading); - onScreen = (false && $.fn.visibility !== undefined) + onScreen = ($.fn.visibility !== undefined) ? $currentMenu.visibility('bottom visible') : $(window).scrollTop() + $(window).height() >= $currentMenu.offset().top + $currentMenu.height() ;