From 23fcbd6c27090819393a3fbf83333973dea25e4e Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 7 Jan 2018 16:53:41 +0300 Subject: [PATCH] fixup 7de3e37a: handleUpdateInstalled is for .updatable only --- manage/manage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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});