|
|
|
@ -8,9 +8,9 @@ function setUpdateOk() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
document.getElementById("allUpdateOk").addEventListener('click', function(){
|
|
|
|
document.getElementById("allUpdateOk").addEventListener('click', function(){
|
|
|
|
localStorage.setItem('UpdateInfoRead', "true");
|
|
|
|
localStorage.setItem('UpdateInfoRead', document.getElementById('versionnumber').value);
|
|
|
|
setUpdateOk();
|
|
|
|
setUpdateOk();
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const UpdateInfoReadingState = localStorage.getItem('UpdateInfoRead');
|
|
|
|
const UpdateInfoReadingState = localStorage.getItem('UpdateInfoRead');
|
|
|
|
if (UpdateInfoReadingState === "true") {setUpdateOk();}
|
|
|
|
if (UpdateInfoReadingState === document.getElementById('versionnumber').value) {setUpdateOk();}
|