diff options
Diffstat (limited to 'ext/mixed')
-rw-r--r-- | ext/mixed/js/display.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index 5bd57159..8901ba71 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -269,7 +269,7 @@ class Display { async termsShow(definitions, options, context) { try { - if (context && context.focus) { + if (!context || context.focus !== false) { window.focus(); } @@ -323,7 +323,7 @@ class Display { async kanjiShow(definitions, options, context) { try { - if (context && context.focus) { + if (!context || context.focus !== false) { window.focus(); } |