mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
fix for Android
This commit is contained in:
1 parent
7b75d6302e
commit
653eacf8d4
5 files changed
+30
-36
No files matched your search
@@ -46,17 +46,17 @@ function LoadingDialog() {
|
||||
if (isInit.current) return;
|
||||
isInit.current = true;
|
||||
|
||||
// empty query warmup
|
||||
// no need to await
|
||||
invoke("search_yomitan", {
|
||||
qTerm: "",
|
||||
qReading: "",
|
||||
limit: 1,
|
||||
offset: 0,
|
||||
});
|
||||
|
||||
document.body.style.pointerEvents = "none";
|
||||
downloadAssets().finally(() => {
|
||||
// empty query warmup
|
||||
// no need to await
|
||||
invoke("search_yomitan", {
|
||||
qTerm: "",
|
||||
qReading: "",
|
||||
limit: 1,
|
||||
offset: 0,
|
||||
});
|
||||
|
||||
document.body.style.pointerEvents = "";
|
||||
const elFirstInput = document.querySelector(
|
||||
'input[type="text"]',
|
||||
|
||||
Reference in new issue
Block a user