Don't flicker #check-all-updates on page load
This commit is contained in:
parent
7527845f1a
commit
1018d86b53
|
@ -732,7 +732,6 @@ function filterAndAppend({entry, container}) {
|
||||||
|
|
||||||
|
|
||||||
function reapplyFilter(container = installed) {
|
function reapplyFilter(container = installed) {
|
||||||
$('#check-all-updates').disabled = !$('.updatable:not(.can-update)');
|
|
||||||
// A: show
|
// A: show
|
||||||
const toUnhide = filtersSelector.hide ? $$(filtersSelector.unhide, container) : container;
|
const toUnhide = filtersSelector.hide ? $$(filtersSelector.unhide, container) : container;
|
||||||
// showStyles() is building the page and no filters are active
|
// showStyles() is building the page and no filters are active
|
||||||
|
@ -784,6 +783,9 @@ function reapplyFilter(container = installed) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
function shuffle(fullPass) {
|
function shuffle(fullPass) {
|
||||||
|
if (fullPass) {
|
||||||
|
$('#check-all-updates').disabled = !$('.updatable:not(.can-update)');
|
||||||
|
}
|
||||||
// 1. skip the visible group on top
|
// 1. skip the visible group on top
|
||||||
let firstHidden = $('#installed > .hidden');
|
let firstHidden = $('#installed > .hidden');
|
||||||
let entry = firstHidden;
|
let entry = firstHidden;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user