From a95daae8e38112fe687d18834dcceef0fc52d48a Mon Sep 17 00:00:00 2001 From: Erayd Date: Sat, 27 Jun 2020 23:16:01 +1200 Subject: [PATCH] Add hotkeys to tooltips (#213) --- src/popup/interface.js | 6 +++--- src/popup/searchinterface.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/popup/interface.js b/src/popup/interface.js index 8fd8542..81d756b 100644 --- a/src/popup/interface.js +++ b/src/popup/interface.js @@ -81,7 +81,7 @@ function view(ctl, params) { onkeydown: keyHandler.bind(result) }, [ - m("div.name", [ + m("div.name", { title: "Fill username / password | " }, [ m("div.line1", [ m( "div.store.badge", @@ -108,12 +108,12 @@ function view(ctl, params) { ]), m("div.action.copy-password", { tabindex: 0, - title: "Copy password", + title: "Copy password | ", action: "copyPassword" }), m("div.action.copy-user", { tabindex: 0, - title: "Copy username", + title: "Copy username | ", action: "copyUsername" }) ] diff --git a/src/popup/searchinterface.js b/src/popup/searchinterface.js index 078876b..172bb2c 100644 --- a/src/popup/searchinterface.js +++ b/src/popup/searchinterface.js @@ -62,6 +62,7 @@ function view(ctl, params) { ? m("div.hint.badge", [ host, m("div.remove-hint", { + title: "Clear domain filter | ", onclick: function(e) { var target = document.querySelector( ".part.search > input[type=text]"