Skip to content

Commit

Permalink
Add hotkeys to tooltips (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
erayd authored Jun 27, 2020
1 parent 962c305 commit a95daae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/popup/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function view(ctl, params) {
onkeydown: keyHandler.bind(result)
},
[
m("div.name", [
m("div.name", { title: "Fill username / password | <Enter>" }, [
m("div.line1", [
m(
"div.store.badge",
Expand All @@ -108,12 +108,12 @@ function view(ctl, params) {
]),
m("div.action.copy-password", {
tabindex: 0,
title: "Copy password",
title: "Copy password | <Ctrl+C>",
action: "copyPassword"
}),
m("div.action.copy-user", {
tabindex: 0,
title: "Copy username",
title: "Copy username | <Ctrl+Shift+C>",
action: "copyUsername"
})
]
Expand Down
1 change: 1 addition & 0 deletions src/popup/searchinterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function view(ctl, params) {
? m("div.hint.badge", [
host,
m("div.remove-hint", {
title: "Clear domain filter | <Backspace>",
onclick: function(e) {
var target = document.querySelector(
".part.search > input[type=text]"
Expand Down

0 comments on commit a95daae

Please sign in to comment.