diff options
author | Adam Mathes <adam@trenchant.org> | 2018-06-12 15:31:25 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2018-06-12 15:31:25 -0700 |
commit | c2e10f09732ff96a7b185aa4e0a8896750d5c32d (patch) | |
tree | ff85aba115dc1592393cd87539f4771a537407a4 /static/ui.js | |
parent | 641482c1d898da0f0c8bf717b15b41bc8dbe2442 (diff) | |
download | neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.tar.gz neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.tar.bz2 neko-c2e10f09732ff96a7b185aa4e0a8896750d5c32d.zip |
hide sidebar on small width
Diffstat (limited to 'static/ui.js')
-rw-r--r-- | static/ui.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/ui.js b/static/ui.js index 6534a20..5f50655 100644 --- a/static/ui.js +++ b/static/ui.js @@ -1,6 +1,9 @@ var templates = {}; $(document).ready(function() { + if ( $(window).width() < 1024 ) { + $('#filters').addClass('hidden'); + } boot(); }); |