mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
Correct $window to $(window) in application.js
This commit is contained in:
@@ -255,7 +255,7 @@ $ ->
|
||||
new Aside()
|
||||
|
||||
# Sidenav pinning
|
||||
if $window.width() < 1280 and $.cookie('pin_nav') is 'true'
|
||||
if $(window).width() < 1280 and $.cookie('pin_nav') is 'true'
|
||||
$.cookie('pin_nav', 'false', { path: '/' })
|
||||
$('.page-with-sidebar')
|
||||
.toggleClass('page-sidebar-collapsed page-sidebar-expanded')
|
||||
|
||||
Reference in New Issue
Block a user