From 7ca993821a610cae245fd36dc9fbd5905a21f2e4 Mon Sep 17 00:00:00 2001 From: eight Date: Wed, 11 Oct 2017 21:45:17 +0800 Subject: [PATCH] Change: always set updateUrl --- install-usercss/install-usercss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-usercss/install-usercss.js b/install-usercss/install-usercss.js index e15fa36b..78b42446 100644 --- a/install-usercss/install-usercss.js +++ b/install-usercss/install-usercss.js @@ -222,7 +222,7 @@ setUpdate.checked = true; // there is no way to "unset" updateUrl, you can only overwrite it. setUpdate.disabled = true; - } else if (!dup && updateUrl.protocol !== 'file:') { + } else if (updateUrl.protocol !== 'file:') { setUpdate.checked = true; style.updateUrl = updateUrl.href; }