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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/script/dynamic-loader-sentinel.js b/ext/js/script/dynamic-loader-sentinel.js
index 7f08c503..d549808e 100644
--- a/ext/js/script/dynamic-loader-sentinel.js
+++ b/ext/js/script/dynamic-loader-sentinel.js
@@ -18,4 +18,4 @@
import {yomichan} from '../yomichan.js';
-yomichan.trigger('dynamicLoaderSentinel', {script: document.currentScript});
+yomichan.trigger('dynamicLoaderSentinel', {script: import.meta.url});