Rename variable spinner_button_count -> spinner_button_index.

master
voussoir 2020-05-28 19:01:42 -07:00
parent 88a6708061
commit 2f5510fd0c
1 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@ function init_button_with_confirm()
});
}
var spinner_button_count = 0;
var spinner_button_index = 0;
common.init_button_with_spinner =
function init_button_with_spinner()
{
@ -317,8 +317,8 @@ function init_button_with_spinner()
}
delete button.dataset.onclick;
var closer_id = "spinner_closer_" + spinner_button_count;
spinner_button_count += 1;
var closer_id = "spinner_closer_" + spinner_button_index;
spinner_button_index += 1;
window[closer_id] = function spinner_closer()
{
spin.hide();