Skip to content

Commit

Permalink
Fix bug on the "disable" method options
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau committed Oct 26, 2014
1 parent cd11fc7 commit 3d6ee63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/ouibounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ return function ouibounce(el, config) {
}

if (typeof options.cookieName !== 'undefined') {
cookieName = 'viewedOuibounceModal';
cookieName = options.cookieName;
}

document.cookie = cookieName + '=true' + cookieExpire + cookieDomain + sitewide;
Expand Down
2 changes: 1 addition & 1 deletion build/ouibounce.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/ouibounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function ouibounce(el, config) {
}

if (typeof options.cookieName !== 'undefined') {
cookieName = 'viewedOuibounceModal';
cookieName = options.cookieName;
}

document.cookie = cookieName + '=true' + cookieExpire + cookieDomain + sitewide;
Expand Down

0 comments on commit 3d6ee63

Please sign in to comment.