aboutsummaryrefslogtreecommitdiff
path: root/src/content/presenters/Hint.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/presenters/Hint.ts')
-rw-r--r--src/content/presenters/Hint.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/presenters/Hint.ts b/src/content/presenters/Hint.ts
index 3f39060..8bf265b 100644
--- a/src/content/presenters/Hint.ts
+++ b/src/content/presenters/Hint.ts
@@ -119,7 +119,10 @@ export class InputHint extends Hint {
default:
if (doms.isContentEditable(target)) {
return target.focus();
- } else if (target.hasAttribute("tabindex")) {
+ } else if (
+ target.hasAttribute("tabindex") ||
+ target.hasAttribute("onclick")
+ ) {
return target.click();
}
}