diff --git a/_locales/en/messages.json b/_locales/en/messages.json index f6f4ff42..71a79aa3 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -389,14 +389,6 @@ "message": "Options", "description": "Go to Options UI" }, - "openOptionsShortcuts": { - "message": "Shortcuts", - "description": "Go to shortcut configuration" - }, - "openShortcutsPopup": { - "message": "Shortcuts", - "description": "Go to shortcut configuration" - }, "optionsHeading": { "message": "Options", "description": "Heading for options section on manage page." @@ -453,6 +445,13 @@ "message": "Remove section", "description": "Label for the button to remove a section" }, + "shortcuts": { + "message": "Shortcuts", + "description": "Go to shortcut configuration" + }, + "shortcutsNote": { + "message": "Define keyboard shortcuts" + }, "styleBadRegexp": { "message": "Regexp is invalid.", "description": "Validation message for a bad regexp in a style" @@ -696,9 +695,6 @@ "optionsOpenManager": { "message": "Manage styles" }, - "optionsOpenManagerNote": { - "message": "Define a keyboard shortcut" - }, "optionsCheckUpdate": { "message": "Check for and install all available updates" }, diff --git a/manage.html b/manage.html index d9d95ec2..eb405e0a 100644 --- a/manage.html +++ b/manage.html @@ -195,7 +195,9 @@

- + - +

+ + + @@ -93,11 +96,6 @@

  • -
  • - -
  • diff --git a/options/index.js b/options/index.js index 886badb5..f9afb81e 100644 --- a/options/index.js +++ b/options/index.js @@ -25,7 +25,7 @@ document.onclick = e => { break; case 'open-keyboard': - openURL({url: e.target.href}); + openURL({url: target.closest('a').href}); e.preventDefault(); break; diff --git a/popup.html b/popup.html index 9ad62b9a..7684eb05 100644 --- a/popup.html +++ b/popup.html @@ -100,7 +100,9 @@