diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-27 23:50:20 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-27 23:50:20 +0300 |
commit | 0d86a1a3d4ffe9b5a4c2c4d2229138b3622e3c38 (patch) | |
tree | 2afa94ef17b8245fca8c54444118f74eb7cf3566 | |
parent | 5e20cb82d74fea786e6dad436fb0a4dff8305646 (diff) | |
parent | 22b7d2156c6d67deb85eccba5ca7e542a7f409e6 (diff) |
Merge pull request #8638 from hiroponz/remember-project-default-tab-30days
Remember the project default tab for 30 days
-rw-r--r-- | app/assets/javascripts/project_show.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/project_show.js.coffee b/app/assets/javascripts/project_show.js.coffee index 02a7d7b731d..d0eaaad92b8 100644 --- a/app/assets/javascripts/project_show.js.coffee +++ b/app/assets/javascripts/project_show.js.coffee @@ -6,7 +6,7 @@ class @ProjectShow new Flash('Star toggle failed. Try again later.', 'alert') $("a[data-toggle='tab']").on "shown.bs.tab", (e) -> - $.cookie "default_view", $(e.target).attr("href") + $.cookie "default_view", $(e.target).attr("href"), { expires: 30 } defaultView = $.cookie("default_view") if defaultView |