diff options
Diffstat (limited to 'ext/mixed/js')
-rw-r--r-- | ext/mixed/js/yomichan.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/yomichan.js b/ext/mixed/js/yomichan.js index 47c63e38..98e70a08 100644 --- a/ext/mixed/js/yomichan.js +++ b/ext/mixed/js/yomichan.js @@ -260,7 +260,7 @@ const yomichan = (() => { // Private _getUrl() { - return (typeof window === 'object' && window !== null ? window.location.href : ''); + return location.href; } _getLogContext() { |