Drop saveStyle
This commit is contained in:
parent
02f471f077
commit
0489fb3b2f
|
@ -556,8 +556,8 @@ window.addEventListener('showStyles:done', function _() {
|
||||||
// show a 'config-on-homepage' icon in the popup
|
// show a 'config-on-homepage' icon in the popup
|
||||||
style.updateUrl += settings.length ? '?' : '';
|
style.updateUrl += settings.length ? '?' : '';
|
||||||
// show a 'style installed' tooltip in the manager
|
// show a 'style installed' tooltip in the manager
|
||||||
style.reason = 'install';
|
// style.reason = 'install';
|
||||||
return API.saveStyle(style);
|
return API.installStyle(style);
|
||||||
})
|
})
|
||||||
.catch(reason => {
|
.catch(reason => {
|
||||||
const usoId = result.id;
|
const usoId = result.id;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user