diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-10-25 00:54:38 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-10-25 02:09:00 +0300 |
commit | f8520f5d096a7b62649c7465491003b3317c5e75 (patch) | |
tree | ca6b7b89e257822c3c39a91dc8dbc99a5526875a /app/assets/javascripts/activities.js | |
parent | 1c0213f28e423b28c17bf7b377086a782ba88b50 (diff) |
remove manual Cookie.set "path" option in favor of global setting
Diffstat (limited to 'app/assets/javascripts/activities.js')
-rw-r--r-- | app/assets/javascripts/activities.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/assets/javascripts/activities.js b/app/assets/javascripts/activities.js index c16ec088f7c..e9287d015c3 100644 --- a/app/assets/javascripts/activities.js +++ b/app/assets/javascripts/activities.js @@ -24,9 +24,7 @@ var filter = sender.attr("id").split("_")[0]; $('.event-filter .active').removeClass("active"); - Cookies.set("event_filter", filter, { - path: gon.relative_url_root || '/' - }); + Cookies.set("event_filter", filter); sender.closest('li').toggleClass("active"); }; |