mirror of
https://github.com/zulip/zulip.git
synced 2026-07-18 21:04:19 +08:00
Use cached selector for $(window).
Mostly for consistency with the rest of the code around here. (imported from commit 87539fea96286e1563624efd2a4800df88f2199c)
This commit is contained in:
parent
96e66d4c5f
commit
10db1b30f1
@ -133,7 +133,7 @@ function resizehandler(e) {
|
||||
sidebar_nav.width('');
|
||||
}
|
||||
|
||||
$("#bottom_whitespace").height($(window).height() * 0.4);
|
||||
$("#bottom_whitespace").height(viewport.height() * 0.4);
|
||||
$("#main_div").css('min-height', viewport.height());
|
||||
|
||||
// This function might run onReady (if we're in a narrow window),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user