Fix lint error
This commit is contained in:
parent
2082b328b4
commit
d014fccfce
@ -1311,7 +1311,7 @@ define([
|
|||||||
(parseInt(verArr[0]) === parseInt(storedArr[0]) &&
|
(parseInt(verArr[0]) === parseInt(storedArr[0]) &&
|
||||||
parseInt(verArr[1]) > parseInt(storedArr[1]));
|
parseInt(verArr[1]) > parseInt(storedArr[1]));
|
||||||
if (!shouldUpdate) { return; }
|
if (!shouldUpdate) { return; }
|
||||||
Cryptpad.alert(Messages._getKey('newVersion', [ver]), null, true);
|
common.alert(Messages._getKey('newVersion', [ver]), null, true);
|
||||||
localStorage[CRYPTPAD_VERSION] = ver;
|
localStorage[CRYPTPAD_VERSION] = ver;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user