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