mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
Refactor React to use routing
This commit is contained in:
+2
-2
@@ -820,7 +820,7 @@ export function closeSettings() {
|
||||
|
||||
function addExtensionSettings() {
|
||||
const link = document.createElement('link');
|
||||
link.href = chrome.runtime.getURL('popup/popup.css');
|
||||
link.href = chrome.runtime.getURL('interface/popup.css');
|
||||
link.type = 'text/css';
|
||||
link.rel = 'stylesheet';
|
||||
document.querySelector('html').appendChild(link);
|
||||
@@ -831,7 +831,7 @@ function addExtensionSettings() {
|
||||
document.body.appendChild(extensionPopup);
|
||||
|
||||
const extensionIframe = document.createElement('iframe');
|
||||
extensionIframe.src = chrome.runtime.getURL('interface/index.html');
|
||||
extensionIframe.src = `${chrome.runtime.getURL('interface/index.html')}#settings/embedded`;
|
||||
extensionIframe.id = 'ExtensionIframe';
|
||||
extensionIframe.allowTransparency = true;
|
||||
extensionIframe.style.width = '384px';
|
||||
|
||||
Reference in New Issue
Block a user