diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-10-25 00:26:41 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-10-25 02:09:00 +0300 |
commit | 67d2b2acb3ec88e981f50aa4f4b8a86b9cc1b288 (patch) | |
tree | 98ab53b9f40fca7ce370aa6ad82893ac697fa096 /app/assets/javascripts/right_sidebar.js | |
parent | 5a4e6721786dd080cd40ca4ea23fc4202a85e73f (diff) |
replace jquery.cookie vendor script with js.cookie
Diffstat (limited to 'app/assets/javascripts/right_sidebar.js')
-rw-r--r-- | app/assets/javascripts/right_sidebar.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/right_sidebar.js b/app/assets/javascripts/right_sidebar.js index e3d5f413c77..a2a7ed3b6c3 100644 --- a/app/assets/javascripts/right_sidebar.js +++ b/app/assets/javascripts/right_sidebar.js @@ -29,7 +29,7 @@ $('.page-with-sidebar').removeClass('right-sidebar-collapsed').addClass('right-sidebar-expanded'); } if (!triggered) { - return $.cookie("collapsed_gutter", $('.right-sidebar').hasClass('right-sidebar-collapsed'), { + return Cookies.set("collapsed_gutter", $('.right-sidebar').hasClass('right-sidebar-collapsed'), { path: gon.relative_url_root || '/' }); } |