Commit ce9bbce7 authored by Phil Hughes's avatar Phil Hughes

changed jquery document ready

parent b155d549
......@@ -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()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment