web-manager 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/account.js +6 -2
- package/package.json +1 -1
package/lib/account.js
CHANGED
@@ -256,7 +256,9 @@ Account.prototype._resolveAccount = function (currentUser, account, options) {
|
|
256
256
|
});
|
257
257
|
}
|
258
258
|
} catch (e) {
|
259
|
-
|
259
|
+
if (typeof window !== 'undefined') {
|
260
|
+
console.error('Unable to check query strings', e);
|
261
|
+
}
|
260
262
|
}
|
261
263
|
|
262
264
|
var planExpireDate = new Date(account.plan.expires.timestamp);
|
@@ -416,7 +418,9 @@ Account.prototype._resolveAccount = function (currentUser, account, options) {
|
|
416
418
|
})
|
417
419
|
|
418
420
|
} catch (e) {
|
419
|
-
|
421
|
+
if (typeof window !== 'undefined') {
|
422
|
+
console.error('Unable to set DOM elements', e);
|
423
|
+
}
|
420
424
|
}
|
421
425
|
|
422
426
|
self.properties = account;
|
package/package.json
CHANGED