This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Functions */ | |
//Changes Buttons and displays browser info for not supported browsers | |
function showNotSupported(){ | |
var btnNotSupported = document.getElementById('not-supported'); | |
var msgNotSupported = document.getElementById('not-supported-message'); | |
btnNotSupported.style.display = 'inline-block'; | |
msgNotSupported.style.display = 'block'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.s24.modules.pushnotificationslp = (function (s24js) { | |
'use strict'; | |
var subscribtionState = { | |
'men': 'false', | |
'sale': 'false', | |
'women': 'false' | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.s24.modules.pushnotifications = (function (w, s24js) { | |
'use strict'; | |
/** | |
* Currently only needed for smatch's _gaq | |
* in future could take more in account like `ga` or `dataLayer` | |
*/ | |
function pushToGoogleAnalytics(eventname, value) { | |
if (_gaq && _gaq.push) { |