Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Commit 87359c6

Browse files
author
Matthias Stein
committed
Fix cookie function
1 parent 47dfc79 commit 87359c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/js/bundles/dn_introjs/IntroWidgetFactory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ define([
6969
},
7070
disableIntro: function () {
7171
var cookieKey = "ShowIntroduction";
72-
d_cookie(cookieKey, false);
72+
d_cookie(cookieKey, false, {expires: 365});
7373
},
7474
enableIntro: function () {
7575
var cookieKey = "ShowIntroduction";
76-
d_cookie(cookieKey, true);
76+
d_cookie(cookieKey, null, {expires: -1});
7777
},
7878
isEnabled: function () {
7979
var cookieKey = "ShowIntroduction";

0 commit comments

Comments
 (0)