summaryrefslogtreecommitdiff
path: root/ext/js/script/dynamic-loader-sentinel.js
diff options
context:
space:
mode:
authorjbukl <noreply@github.com>2023-11-10 19:15:42 -0500
committerjbukl <noreply@github.com>2023-11-10 21:37:01 -0500
commitbc695c21e234a1a531abe201ee3a2881f3e39d7f (patch)
tree3257920a72ed71f0b46c5928678c1629c643a169 /ext/js/script/dynamic-loader-sentinel.js
parent382f2ec40ac6861adc90da253df0537d47c3e7cf (diff)
Fix dynamic loader esm
Fix dynamic loader script check
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});