mirror of https://github.com/zulip/zulip.git
1b5fb31b2c
The .height() and .width() functions are actually pretty expensive for the number of times we call them. The viewport height and width don't change often, though, so we can just cache them and recalculate them on window resize. (imported from commit 129fb8c058144125e2974f6b7967cd9f1a5c9ead) |
||
---|---|---|
.. | ||
__init__.py | ||
authhack.py | ||
backends.py | ||
ratelimit.py | ||
settings.py | ||
setup_hack_settings.py | ||
test_settings.py | ||
urls.py | ||
wsgi.py |