diff --git a/LunaTranslator/LunaTranslator/rendertext/webview.html b/LunaTranslator/LunaTranslator/rendertext/webview.html index 9ee145a2..bb474d33 100644 --- a/LunaTranslator/LunaTranslator/rendertext/webview.html +++ b/LunaTranslator/LunaTranslator/rendertext/webview.html @@ -22,12 +22,14 @@ if (!_call) _call = console.log; _call(h) + window.__resolve_h = h } function safe_calllunaclickedword(word) { let _call = window.calllunaclickedword; if (!_call) _call = console.log; _call(word) + window.__resolve_word = word }