mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 16:16:43 +10:00
changed jquery document ready
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user