Skip to content

Commit

Permalink
navigation collapse cookie expire
Browse files Browse the repository at this point in the history
  • Loading branch information
veneliniliev committed Jun 30, 2016
1 parent faa955a commit 6c65dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/assets/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ $(function () {
navigation toggle set cookies
*/
$('#slidebar-toggle-button').click(function (e) {
$.cookie('administration-navigation-collapsed', !$('body').hasClass('sidebar-collapse'));
$.cookie('administration-navigation-collapsed', !$('body').hasClass('sidebar-collapse'), {expires: 777});
});
})

0 comments on commit 6c65dc8

Please sign in to comment.