diff --git a/js/issuer.js b/js/issuer.js index 582f2c8..84d998a 100644 --- a/js/issuer.js +++ b/js/issuer.js @@ -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;