2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

FIX: use '#main' height to check whether screen is full or not

This commit is contained in:
Régis Hanol 2015-11-04 19:41:12 +01:00
parent c1db9da45b
commit ef2f77339a

View file

@ -19,7 +19,7 @@ const ScrollingDOMMethods = {
},
screenNotFull() {
return $(window).height() > $(document).height();
return $(window).height() > $("#main").height();
}
};