aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-12 23:23:26 -0500
committerGitHub <noreply@github.com>2021-02-12 23:23:26 -0500
commitd5964ee4d45c95526ad95df300609d6095fc570d (patch)
tree5c3b9adbcccb9b40107e864bb271e4eaef832267 /ext
parentdaea80942c7a89b43c6aa4579cbc2fa0f198b0b0 (diff)
Rename html files (#1377)
* Rename context.html to action-popup.html * Rename float.html to popup.html
Diffstat (limited to 'ext')
-rw-r--r--ext/action-popup.html (renamed from ext/context.html)0
-rw-r--r--ext/fg/js/popup.js2
-rw-r--r--ext/manifest.json4
-rw-r--r--ext/popup.html (renamed from ext/float.html)0
4 files changed, 3 insertions, 3 deletions
diff --git a/ext/context.html b/ext/action-popup.html
index 1b0072a6..1b0072a6 100644
--- a/ext/context.html
+++ b/ext/action-popup.html
diff --git a/ext/fg/js/popup.js b/ext/fg/js/popup.js
index b920caf7..75b74257 100644
--- a/ext/fg/js/popup.js
+++ b/ext/fg/js/popup.js
@@ -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 {
diff --git a/ext/manifest.json b/ext/manifest.json
index 233df081..c8178143 100644
--- a/ext/manifest.json
+++ b/ext/manifest.json
@@ -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 *"
diff --git a/ext/float.html b/ext/popup.html
index 0203043a..0203043a 100644
--- a/ext/float.html
+++ b/ext/popup.html