aboutsummaryrefslogtreecommitdiffstats
path: root/static/ui.js
diff options
context:
space:
mode:
authorAdam Mathes <adam@trenchant.org>2018-06-12 15:31:25 -0700
committerAdam Mathes <adam@trenchant.org>2018-06-12 15:31:25 -0700
commitc2e10f09732ff96a7b185aa4e0a8896750d5c32d (patch)
treeff85aba115dc1592393cd87539f4771a537407a4 /static/ui.js
parent641482c1d898da0f0c8bf717b15b41bc8dbe2442 (diff)
downloadneko-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.js3
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();
});