aboutsummaryrefslogtreecommitdiff
path: root/ext/js/script/dynamic-loader-sentinel.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/script/dynamic-loader-sentinel.js')
-rw-r--r--ext/js/script/dynamic-loader-sentinel.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/js/script/dynamic-loader-sentinel.js b/ext/js/script/dynamic-loader-sentinel.js
index cb03b0b9..3c06fc02 100644
--- a/ext/js/script/dynamic-loader-sentinel.js
+++ b/ext/js/script/dynamic-loader-sentinel.js
@@ -18,4 +18,5 @@
import {yomitan} from '../yomitan.js';
-yomitan.trigger('dynamicLoaderSentinel', {script: document.currentScript});
+
+yomitan.trigger('dynamicLoaderSentinel', {script: import.meta.url});