Change month logic and English

This commit is contained in:
Cutls 2019-06-04 22:29:47 +09:00
parent f23dc928b2
commit d2a86af0e2

View File

@ -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({