fix isScrollBarAtBottom

This commit is contained in:
lutranf
2014-10-29 11:55:03 +01:00
parent 3697c32017
commit 661985cc37

View File

@@ -55,7 +55,7 @@
/* Adding isBottom function - Start */ /* Adding isBottom function - Start */
this.isBottom=function() 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 */ /* Adding isBottom function - End */