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:
parent
c1db9da45b
commit
ef2f77339a
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const ScrollingDOMMethods = {
|
|||
},
|
||||
|
||||
screenNotFull() {
|
||||
return $(window).height() > $(document).height();
|
||||
return $(window).height() > $("#main").height();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue