fix version sys

This commit is contained in:
Cutls 2019-10-05 02:51:58 +09:00
parent a0b6610b7d
commit 9bb066596c

View File

@ -1,6 +1,5 @@
//バージョンチェッカー //バージョンチェッカー
function verck(ver) { function verck(ver) {
localStorage.setItem("ver", ver);
console.log("%c Welcome😊", "color: red;font-size:200%;") console.log("%c Welcome😊", "color: red;font-size:200%;")
var date = new Date(); var date = new Date();
var show = false var show = false
@ -37,6 +36,7 @@ function verck(ver) {
} }
}); });
} }
localStorage.setItem("ver", ver);
if (!show) { if (!show) {
console.log(show) console.log(show)
if (date.getMonth() + 1 >= localStorage.getItem("showSupportMe") || !localStorage.getItem("showSupportMe")) { if (date.getMonth() + 1 >= localStorage.getItem("showSupportMe") || !localStorage.getItem("showSupportMe")) {