Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

Commit

Permalink
Update to latest fiftyfive-util-js
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Apr 19, 2012
1 parent 3496165 commit 15fe25c
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -37,7 +37,9 @@
// The name of the cookie to be saved.
cookieName: "unsupportedBrowserWarningDismissed",
// The number of days the cookie will remain valid.
duration: 1
duration: 1,
// The path for which the cookie applies
path: "/"
},

_create: function() {
Expand All @@ -48,7 +50,7 @@
*/
var self = this;
this.dismissLink.click(function(event) {
setCookie(self.options.cookieName, true, self.options.duration);
setCookie(self.options.cookieName, true, self.options.duration, self.options.path);
self.element.fadeOut("slow");
});

Expand Down

0 comments on commit 15fe25c

Please sign in to comment.