Add hotkeys to tooltips (#213)
This commit is contained in:
@@ -81,7 +81,7 @@ function view(ctl, params) {
|
|||||||
onkeydown: keyHandler.bind(result)
|
onkeydown: keyHandler.bind(result)
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
m("div.name", [
|
m("div.name", { title: "Fill username / password | <Enter>" }, [
|
||||||
m("div.line1", [
|
m("div.line1", [
|
||||||
m(
|
m(
|
||||||
"div.store.badge",
|
"div.store.badge",
|
||||||
@@ -108,12 +108,12 @@ function view(ctl, params) {
|
|||||||
]),
|
]),
|
||||||
m("div.action.copy-password", {
|
m("div.action.copy-password", {
|
||||||
tabindex: 0,
|
tabindex: 0,
|
||||||
title: "Copy password",
|
title: "Copy password | <Ctrl+C>",
|
||||||
action: "copyPassword"
|
action: "copyPassword"
|
||||||
}),
|
}),
|
||||||
m("div.action.copy-user", {
|
m("div.action.copy-user", {
|
||||||
tabindex: 0,
|
tabindex: 0,
|
||||||
title: "Copy username",
|
title: "Copy username | <Ctrl+Shift+C>",
|
||||||
action: "copyUsername"
|
action: "copyUsername"
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
@@ -62,6 +62,7 @@ function view(ctl, params) {
|
|||||||
? m("div.hint.badge", [
|
? m("div.hint.badge", [
|
||||||
host,
|
host,
|
||||||
m("div.remove-hint", {
|
m("div.remove-hint", {
|
||||||
|
title: "Clear domain filter | <Backspace>",
|
||||||
onclick: function(e) {
|
onclick: function(e) {
|
||||||
var target = document.querySelector(
|
var target = document.querySelector(
|
||||||
".part.search > input[type=text]"
|
".part.search > input[type=text]"
|
||||||
|
Reference in New Issue
Block a user