summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-10 17:04:45 +0000
committerPhil Hughes <me@iamphill.com>2016-03-14 11:39:56 +0000
commitce9bbce78a258b43181766bcbebad7add90968ff (patch)
tree74dd880e2ec1f8fe9cc03004f3257944d70d874b /app/assets
parentb155d54941ab5bb4eb07c1774ba3a2dfbb9f2707 (diff)
downloadgitlab-ce-ce9bbce78a258b43181766bcbebad7add90968ff.tar.gz
changed jquery document ready
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/sidebar.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/sidebar.js.coffee b/app/assets/javascripts/sidebar.js.coffee
index dfa69dd6a47..1ffb6619ab5 100644
--- a/app/assets/javascripts/sidebar.js.coffee
+++ b/app/assets/javascripts/sidebar.js.coffee
@@ -20,7 +20,7 @@ $(document).on("click", '.toggle-nav-collapse', (e) ->
toggleSidebar()
)
-$(document).ready ->
+$ ->
if $(window).width() < mobileWidth
if $('.page-with-sidebar').hasClass(expanded)
toggleSidebar()