diff options
Diffstat (limited to 'app/assets/javascripts/sidebar.js.coffee')
-rw-r--r-- | app/assets/javascripts/sidebar.js.coffee | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/assets/javascripts/sidebar.js.coffee b/app/assets/javascripts/sidebar.js.coffee index e4a8cc6a4b0..c084d730d62 100644 --- a/app/assets/javascripts/sidebar.js.coffee +++ b/app/assets/javascripts/sidebar.js.coffee @@ -2,18 +2,13 @@ responsive_resize = -> current_width = $(window).width() if current_width < 985 $('.responsive-side').addClass("ui right wide sidebar") - $('.responsive-side-left').addClass("ui left sidebar") else $('.responsive-side').removeClass("ui right wide sidebar") - $('.responsive-side-left').removeClass("ui left sidebar") $ -> # Depending on window size, set the sidebar offscreen. responsive_resize() - $('.ui.sidebar') - .sidebar() - $('.sidebar-expand-button').click -> $('.ui.sidebar') .sidebar({overlay: true}) |