store version in variable
This commit is contained in:
parent
b4b4aeab04
commit
9dac84b3a1
|
@ -1,9 +1,10 @@
|
|||
$(function () {
|
||||
'use strict';
|
||||
|
||||
if ('1' !== window.localStorage.getItem('version')) {
|
||||
var version = '1';
|
||||
if (version !== window.localStorage.getItem('version')) {
|
||||
window.localStorage.clear();
|
||||
window.localStorage.setItem('version', '1');
|
||||
window.localStorage.setItem('version', version);
|
||||
}
|
||||
|
||||
var OAUTH3 = window.OAUTH3;
|
||||
|
|
Loading…
Reference in New Issue