summaryrefslogtreecommitdiff
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
parentdaea80942c7a89b43c6aa4579cbc2fa0f198b0b0 (diff)
Rename html files (#1377)
* Rename context.html to action-popup.html * Rename float.html to popup.html
-rw-r--r--dev/data/manifest-variants.json4
-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
5 files changed, 5 insertions, 5 deletions
diff --git a/dev/data/manifest-variants.json b/dev/data/manifest-variants.json
index 3bb17029..9d7c74d4 100644
--- a/dev/data/manifest-variants.json
+++ b/dev/data/manifest-variants.json
@@ -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 *"
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