Skip to content
This repository has been archived by the owner on Jun 1, 2018. It is now read-only.

Commit

Permalink
Update campaignCatcher.js
Browse files Browse the repository at this point in the history
remove alert
  • Loading branch information
gonzaloebiz authored Sep 2, 2016
1 parent 4e59c06 commit b784bc7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/ebizmarts/magemonkey/campaignCatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function getCampaign() {
function createCookie(name, value, expirationInSec) {
var now = new Date();
var expire = new Date(now.getTime() + (expirationInSec * 1000));//[(1 * 365 * 24 * 60) * 60000] == 1 year -- (Years * Days * Hours * Minutes) * 60000
alert('creating cookie');
Mage.Cookies.expires = expire;
Mage.Cookies.set(name,value);
}
Expand All @@ -30,4 +29,4 @@ if (document.loaded) {
getCampaign;
} else {
document.observe('dom:loaded', getCampaign);
}
}

0 comments on commit b784bc7

Please sign in to comment.