From cb7aaa711177d6a3b906c82d83735910eb53cdb8 Mon Sep 17 00:00:00 2001 From: eight Date: Sun, 24 Sep 2017 17:18:38 +0800 Subject: [PATCH] Fix: move to root --- background/usercss-helper.js | 2 +- install-usercss/install-usercss.html => install-usercss.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename install-usercss/install-usercss.html => install-usercss.html (96%) diff --git a/background/usercss-helper.js b/background/usercss-helper.js index acdb663b..5dd09d59 100644 --- a/background/usercss-helper.js +++ b/background/usercss-helper.js @@ -98,7 +98,7 @@ var usercssHelper = (function () { function openInstallPage(tabId, request) { // FIXME: openURL doesn't reuse old page? - const url = '/install-usercss/install-usercss.html' + + const url = '/install-usercss.html' + '?updateUrl=' + encodeURIComponent(request.updateUrl) + '&tabId=' + tabId; const pending = openURL({url}) diff --git a/install-usercss/install-usercss.html b/install-usercss.html similarity index 96% rename from install-usercss/install-usercss.html rename to install-usercss.html index 65cdf144..b04f9be0 100644 --- a/install-usercss/install-usercss.html +++ b/install-usercss.html @@ -5,7 +5,7 @@ Loading... - + @@ -79,6 +79,6 @@ - + \ No newline at end of file