diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-05-23 22:51:48 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-05-23 22:51:48 -0700 |
commit | c0f74bbc8f6e8dde4f8e254d3f4b260b4209daaa (patch) | |
tree | 8bf5c39cdb69500b1c5dd25ea438232a789eb98e | |
parent | 5de9ac17122002fa8727fd089679394f54af442f (diff) |
smarter imposter hiding, version bump1.1.18
-rw-r--r-- | ext/fg/js/driver.js | 3 | ||||
-rw-r--r-- | ext/manifest.json | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js index 98c50a02..e11b5014 100644 --- a/ext/fg/js/driver.js +++ b/ext/fg/js/driver.js @@ -160,6 +160,7 @@ window.driver = new class { }).catch(error => { this.handleError(error, textSource); }).then(() => { + docImposterDestroy(); this.pendingLookup = false; }); } @@ -169,7 +170,6 @@ window.driver = new class { return bgTermsFind(textSource.text()).then(({definitions, length}) => { if (definitions.length === 0) { - docImposterDestroy(); return false; } else { textSource.setEndOffset(length); @@ -188,7 +188,6 @@ window.driver = new class { textSource.select(); } - docImposterDestroy(); return true; } }); diff --git a/ext/manifest.json b/ext/manifest.json index eac8c058..8b6a9a02 100644 --- a/ext/manifest.json +++ b/ext/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Yomichan", - "version": "1.1.17", + "version": "1.1.18", "description": "Japanese dictionary with Anki integration", "icons": {"16": "mixed/img/icon16.png", "48": "mixed/img/icon48.png", "128": "mixed/img/icon128.png"}, |