From 4dbc67371901f421803736bdf692ca697a0b8fb2 Mon Sep 17 00:00:00 2001 From: cutls Date: Sun, 3 May 2020 22:32:41 +0900 Subject: [PATCH] fix --- app/js/common/version.js | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/app/js/common/version.js b/app/js/common/version.js index d994f3c6..78eec474 100644 --- a/app/js/common/version.js +++ b/app/js/common/version.js @@ -2,7 +2,7 @@ function verck(ver, jp) { console.log('%c Welcome😊 ' + ver, 'color: red;font-size:200%;') var date = new Date() - var show = false + var showVer = false if (localStorage.getItem('ver') != ver && localStorage.getItem('winstore')) { //ちょっと削除とリンク解析の都合上アレ(s) //対象外のアプデ:storageが20の最初まで"Usamin (18.6.5)" @@ -15,7 +15,7 @@ function verck(ver, jp) { } } //ちょっと削除とリンク解析の都合上アレ(e) - show = true + showVer = true console.log('%c Thank you for your update🎉', 'color: red;font-size:200%;') $(document).ready(function() { if (localStorage.getItem('winstore')) { @@ -37,8 +37,8 @@ function verck(ver, jp) { }) } localStorage.setItem('ver', ver) - if (!show) { - console.log(show) + if (!showVer) { + console.log(showVer) if ( date.getFullYear() * 100 + date.getMonth() + 1 >= localStorage.getItem('showSupportMe') || !localStorage.getItem('showSupportMe') @@ -172,7 +172,7 @@ function verck(ver, jp) { } else { if (obj.type == 'textv2') { if (~obj.languages.indexOf(lang.language)) { - var show = true + var showVer = true if (obj.toot != '') { var toot = '