From 0489fb3b2f2243ed99becc7c8fbe0da2e1424d97 Mon Sep 17 00:00:00 2001 From: eight Date: Sun, 7 Oct 2018 23:33:51 +0800 Subject: [PATCH] Drop saveStyle --- popup/search-results.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/popup/search-results.js b/popup/search-results.js index 6b18d255..d69cce08 100755 --- a/popup/search-results.js +++ b/popup/search-results.js @@ -556,8 +556,8 @@ window.addEventListener('showStyles:done', function _() { // show a 'config-on-homepage' icon in the popup style.updateUrl += settings.length ? '?' : ''; // show a 'style installed' tooltip in the manager - style.reason = 'install'; - return API.saveStyle(style); + // style.reason = 'install'; + return API.installStyle(style); }) .catch(reason => { const usoId = result.id;