From f3f6139c8ebe2ae02291e950f9cc6915ae45b6dc Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 18 Mar 2017 13:46:56 -0700 Subject: update guide --- ext/bg/guide.html | 13 +++++++------ ext/fg/js/driver.js | 3 +++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/ext/bg/guide.html b/ext/bg/guide.html index 130d6d68..3b3dcab7 100644 --- a/ext/bg/guide.html +++ b/ext/bg/guide.html @@ -7,7 +7,7 @@ -
+
@@ -23,11 +23,12 @@

    -
  1. Click on the icon in the browser toolbar to open the Yomichan options page.
  2. -
  3. Import the dictionaries (bundled or custom) you wish to use for term and Kanji searches.
  4. -
  5. Hold down Shift (or the middle mouse button) as you hover over text to see term definitions.
  6. -
  7. Click on the icon to hear the term pronounced by a native speaker (if audio is available).
  8. -
  9. Click on Kanji in the definition window to view additional information about that character.
  10. +
  11. Click on the icon in the browser toolbar to open the Yomichan actions dialog.
  12. +
  13. Click on the monkey wrench icon in the middle to open the options page.
  14. +
  15. Import the dictionaries you wish to use for term and Kanji searches.
  16. +
  17. Hold down Shift key or the middle mouse button as you move your mouse over text to display definitions.
  18. +
  19. Click on the icon to hear the term pronounced by a native speaker.
  20. +
  21. Click on individual Kanji in the term definition results to view additional information about those characters.
diff --git a/ext/fg/js/driver.js b/ext/fg/js/driver.js index fbe89ab8..16b12d5e 100644 --- a/ext/fg/js/driver.js +++ b/ext/fg/js/driver.js @@ -105,6 +105,9 @@ window.driver = new class { const handlers = new class { api_optionsSet(options) { this.options = options; + if (!this.options.enable) { + this.searchClear(); + } } }; -- cgit v1.2.3