From 661985cc377fb6d52bc6c05a0258d92e923b4963 Mon Sep 17 00:00:00 2001 From: lutranf Date: Wed, 29 Oct 2014 11:55:03 +0100 Subject: [PATCH] fix isScrollBarAtBottom --- jquery/jquery.mods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery/jquery.mods.js b/jquery/jquery.mods.js index b3e9fce..1dbd40a 100644 --- a/jquery/jquery.mods.js +++ b/jquery/jquery.mods.js @@ -55,7 +55,7 @@ /* Adding isBottom function - Start */ this.isBottom=function() { - return (iScroll == (oContent[options.axis] - oViewport[options.axis])); + return (oContent.ratio > 1 || iScroll == (oContent[options.axis] - oViewport[options.axis])); }; /* Adding isBottom function - End */