hide UpdatesOnly filter together with ApplyAll button

This commit is contained in:
tophf 2017-04-18 14:59:59 +03:00
parent 2304a8012c
commit f5586a8f0d

View File

@ -459,14 +459,13 @@ function applyUpdateAll() {
setTimeout(() => { setTimeout(() => {
btnApply.classList.add('hidden'); btnApply.classList.add('hidden');
btnApply.disabled = false; btnApply.disabled = false;
renderUpdatesOnlyFilter({show: false});
}, 1000); }, 1000);
$$('.can-update .update').forEach(button => { $$('.can-update .update').forEach(button => {
scrollElementIntoView(button); scrollElementIntoView(button);
button.click(); button.click();
}); });
renderUpdatesOnlyFilter({show: false});
} }