aboutsummaryrefslogtreecommitdiff
path: root/ext/js/script/dynamic-loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/script/dynamic-loader.js')
-rw-r--r--ext/js/script/dynamic-loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/script/dynamic-loader.js b/ext/js/script/dynamic-loader.js
index 75bf7b8b..8fdb77e9 100644
--- a/ext/js/script/dynamic-loader.js
+++ b/ext/js/script/dynamic-loader.js
@@ -64,7 +64,7 @@ export const dynamicLoader = (() => {
* @returns {Promise<?HTMLStyleElement|HTMLLinkElement>}
* @throws {Error}
*/
- async function loadStyle(id, type, value, useWebExtensionApi=false, parentNode=null) {
+ async function loadStyle(id, type, value, useWebExtensionApi = false, parentNode = null) {
if (useWebExtensionApi && yomitan.isExtensionUrl(window.location.href)) {
// Permissions error will occur if trying to use the WebExtension API to inject into an extension page
useWebExtensionApi = false;