diff --git a/manage/manage.js b/manage/manage.js index 370e328d..414774aa 100644 --- a/manage/manage.js +++ b/manage/manage.js @@ -528,7 +528,7 @@ function handleUpdate(style, {reason, method} = {}) { oldEntry.remove(); } } - if (reason === 'update' || reason === 'install' && entry.matches('.updatable')) { + if ((reason === 'update' || reason === 'install') && entry.matches('.updatable')) { handleUpdateInstalled(entry, reason); } filterAndAppend({entry});