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/activities.js | |
parent | 5a4e6721786dd080cd40ca4ea23fc4202a85e73f (diff) |
replace jquery.cookie vendor script with js.cookie
Diffstat (limited to 'app/assets/javascripts/activities.js')
-rw-r--r-- | app/assets/javascripts/activities.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/activities.js b/app/assets/javascripts/activities.js index f4f8cf04184..c16ec088f7c 100644 --- a/app/assets/javascripts/activities.js +++ b/app/assets/javascripts/activities.js @@ -24,7 +24,7 @@ var filter = sender.attr("id").split("_")[0]; $('.event-filter .active').removeClass("active"); - $.cookie("event_filter", filter, { + Cookies.set("event_filter", filter, { path: gon.relative_url_root || '/' }); |