This commit is contained in:
Azgaar 2020-06-22 02:22:55 +03:00
parent a3f75c7f27
commit 7224addbc6

View file

@ -411,7 +411,7 @@ function regenerateEra() {
}
function changeYear() {
if (!yearInputthis.value) return;
if (!yearInput.value) return;
if (isNaN(+yearInput.value)) {tip("Current year should be a number", false, "error"); return;}
options.year = +yearInput.value;
}