Change: always set updateUrl

This commit is contained in:
eight 2017-10-11 21:45:17 +08:00
parent 2642206e32
commit 7ca993821a

View File

@ -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;
}