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/boards | |
parent | 5a4e6721786dd080cd40ca4ea23fc4202a85e73f (diff) |
replace jquery.cookie vendor script with js.cookie
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r-- | app/assets/javascripts/boards/stores/boards_store.js.es6 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/stores/boards_store.js.es6 b/app/assets/javascripts/boards/stores/boards_store.js.es6 index bd07ee0c161..a12d3a59265 100644 --- a/app/assets/javascripts/boards/stores/boards_store.js.es6 +++ b/app/assets/javascripts/boards/stores/boards_store.js.es6 @@ -58,12 +58,12 @@ removeBlankState () { this.removeList('blank'); - $.cookie('issue_board_welcome_hidden', 'true', { + Cookies.set('issue_board_welcome_hidden', 'true', { expires: 365 * 10 }); }, welcomeIsHidden () { - return $.cookie('issue_board_welcome_hidden') === 'true'; + return Cookies.get('issue_board_welcome_hidden') === 'true'; }, removeList (id, type = 'blank') { const list = this.findList('id', id, type); |