From d2a86af0e2608135f925e3efacbedb70558ddc0b Mon Sep 17 00:00:00 2001 From: Cutls Date: Tue, 4 Jun 2019 22:29:47 +0900 Subject: [PATCH] Change month logic and English --- app/js/common/version.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/js/common/version.js b/app/js/common/version.js index ea05863c..793d21dc 100644 --- a/app/js/common/version.js +++ b/app/js/common/version.js @@ -27,12 +27,16 @@ function verck(ver) { } if (!show) { console.log(show) - if (date.getMonth() + 1 == localStorage.getItem("showSupportMe") || !localStorage.getItem("showSupportMe")) { + if (date.getMonth() + 1 >= localStorage.getItem("showSupportMe") || !localStorage.getItem("showSupportMe")) { if (date.getMonth() == 11) { var nextmonth = 1 } else { var nextmonth = date.getMonth() + 2 } + if (lang.language != "ja") { + $("#support-btm-ja").addClass("hide"); + $("#support-btm-en").removeClass("hide"); + } localStorage.setItem("showSupportMe", nextmonth) $("#support-btm").removeClass("hide") $("#support-btm").animate({