There was an error while loading. Please reload this page.
1 parent 5b620fb commit 0f8c8bbCopy full SHA for 0f8c8bb
1 file changed
src/js/snowplow.js
@@ -119,13 +119,13 @@
119
/*
120
* Delay/pause (blocks UI)
121
*/
122
- if (mutSnowplowState.expireDate) {
+ if (mutSnowplowState.expireDateTime) {
123
// the things we do for backwards compatibility...
124
// in ECMA-262 5th ed., we could simply use:
125
- // while (Date.now() < mutSnowplowState.expireDate) { }
+ // while (Date.now() < mutSnowplowState.expireDateTime) { }
126
do {
127
now = new Date();
128
- } while (now.getTime() < mutSnowplowState.expireDate);
+ } while (now.getTime() < mutSnowplowState.expireDateTime);
129
}
130
131
0 commit comments