Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
* fixed a small issue in $l.vars.setCookie method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eser Ozvataf committed Nov 22, 2014
1 parent 13c5f57 commit 87d5a12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/laroux.js
Original file line number Diff line number Diff line change
Expand Up @@ -2463,7 +2463,7 @@

setCookie: function(name, value, expires, path) {
var expireValue = '';
if (typeof expires != 'undefined' || expires !== null) {
if (typeof expires != 'undefined' && expires !== null) {
expireValue = '; expires=' + expires.toGMTString();
}

Expand Down
Loading

0 comments on commit 87d5a12

Please sign in to comment.