From cd84a33a538281b327c9f9fe6c1e7de73f536ffa Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 4 Jun 2017 18:26:53 +0300 Subject: [PATCH] fixup: "Install style" should not persist on click --- install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.js b/install.js index d84aca21..a4311be4 100644 --- a/install.js +++ b/install.js @@ -130,7 +130,7 @@ function saveStyleCode(message, name, addProps) { reason: 'update', }), style => { - if (style.updateUrl.includes('?')) { + if (message == 'styleUpdate' && style.updateUrl.includes('?')) { enableUpdateButton(true); } else { sendEvent('styleInstalledChrome');