fixup 7de3e37a: handleUpdateInstalled is for .updatable only

This commit is contained in:
tophf 2018-01-07 16:53:41 +03:00
parent 022e588c97
commit 23fcbd6c27

View File

@ -528,7 +528,7 @@ function handleUpdate(style, {reason, method} = {}) {
oldEntry.remove(); oldEntry.remove();
} }
} }
if (reason === 'update' || reason === 'install' && entry.matches('.updatable')) { if ((reason === 'update' || reason === 'install') && entry.matches('.updatable')) {
handleUpdateInstalled(entry, reason); handleUpdateInstalled(entry, reason);
} }
filterAndAppend({entry}); filterAndAppend({entry});