smarter imposter hiding, version bump
This commit is contained in:
parent
5de9ac1712
commit
c0f74bbc8f
@ -160,6 +160,7 @@ window.driver = new class {
|
|||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
this.handleError(error, textSource);
|
this.handleError(error, textSource);
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
docImposterDestroy();
|
||||||
this.pendingLookup = false;
|
this.pendingLookup = false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -169,7 +170,6 @@ window.driver = new class {
|
|||||||
|
|
||||||
return bgTermsFind(textSource.text()).then(({definitions, length}) => {
|
return bgTermsFind(textSource.text()).then(({definitions, length}) => {
|
||||||
if (definitions.length === 0) {
|
if (definitions.length === 0) {
|
||||||
docImposterDestroy();
|
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
textSource.setEndOffset(length);
|
textSource.setEndOffset(length);
|
||||||
@ -188,7 +188,6 @@ window.driver = new class {
|
|||||||
textSource.select();
|
textSource.select();
|
||||||
}
|
}
|
||||||
|
|
||||||
docImposterDestroy();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Yomichan",
|
"name": "Yomichan",
|
||||||
"version": "1.1.17",
|
"version": "1.1.18",
|
||||||
|
|
||||||
"description": "Japanese dictionary with Anki integration",
|
"description": "Japanese dictionary with Anki integration",
|
||||||
"icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"},
|
"icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"},
|
||||||
|
Loading…
Reference in New Issue
Block a user