Rename html files (#1377)

* Rename context.html to action-popup.html

* Rename float.html to popup.html
This commit is contained in:
toasted-nutbread 2021-02-12 23:23:26 -05:00 committed by GitHub
parent daea80942c
commit d5964ee4d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@
"128": "images/icon128.png"
},
"default_title": "Yomichan",
"default_popup": "context.html"
"default_popup": "action-popup.html"
},
"background": {
"page": "background.html",
@ -111,7 +111,7 @@
}
},
"web_accessible_resources": [
"float.html",
"popup.html",
"template-renderer.html"
],
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"

View File

@ -256,7 +256,7 @@ class Popup extends EventDispatcher {
frame.removeAttribute('srcdoc');
this._observeFullscreen(true);
this._onFullscreenChanged();
const url = chrome.runtime.getURL('/float.html');
const url = chrome.runtime.getURL('/popup.html');
if (useSecurePopupFrameUrl) {
frame.contentDocument.location.href = url;
} else {

View File

@ -24,7 +24,7 @@
"128": "images/icon128.png"
},
"default_title": "Yomichan",
"default_popup": "context.html"
"default_popup": "action-popup.html"
},
"background": {
"page": "background.html",
@ -110,7 +110,7 @@
}
},
"web_accessible_resources": [
"float.html",
"popup.html",
"template-renderer.html"
],
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"