This commit is contained in:
ngxson
2020-08-27 15:26:51 +02:00
parent 5087500e6d
commit a70293caa1
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ function initService() {
if (hasFirstRun) return;
browser.tabs.create({
url: browser.runtime.getURL('/onboarding/index.html'),
url: browser.runtime.getURL("/onboarding/index.html"),
});
SLStorage.set(SLStorage.SETTINGS.HAS_FIRST_RUN, true);
@@ -26,7 +26,7 @@ async function listenPostSetup() {
browser.tabs.onUpdated.addListener(function (tabId, changeInfo, tab) {
if (tab.url && POST_SETUP_URL && tab.url.startsWith(POST_SETUP_URL)) {
browser.tabs.update(tab.id, {
url: browser.runtime.getURL('/onboarding/index.html#step3'),
url: browser.runtime.getURL("/onboarding/index.html#step3"),
});
}
});
+4
View File
@@ -22,6 +22,10 @@
max-height: 100vh;
overflow-y: auto;
h5 {
font-weight: bold;
}
.header {
.sl-logo {
width: 200px;