This commit is contained in:
Azgaar 2020-06-22 02:22:55 +03:00
parent ea1babe1c8
commit f14ca97fb4

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;
}