fixup: "Install style" should not persist on click

This commit is contained in:
tophf 2017-06-04 18:26:53 +03:00
parent 5a67d926da
commit cd84a33a53

View File

@ -130,7 +130,7 @@ function saveStyleCode(message, name, addProps) {
reason: 'update', reason: 'update',
}), }),
style => { style => {
if (style.updateUrl.includes('?')) { if (message == 'styleUpdate' && style.updateUrl.includes('?')) {
enableUpdateButton(true); enableUpdateButton(true);
} else { } else {
sendEvent('styleInstalledChrome'); sendEvent('styleInstalledChrome');