mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: use '#main' height to check whether screen is full or not
This commit is contained in:
@@ -19,7 +19,7 @@ const ScrollingDOMMethods = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
screenNotFull() {
|
screenNotFull() {
|
||||||
return $(window).height() > $(document).height();
|
return $(window).height() > $("#main").height();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user