Merge pull request #1 from navedqb/4025--fix-undefined-hideDelay

fix: fix undefined hideDelay
pull/4064/head
navedqb 2023-06-19 14:16:45 +05:30 committed by GitHub
commit 095008559d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ function onClick(event) {
} }
function onKeydown(event) { function onKeydown(event) {
const el = event.currentTarget;
const hideDelay = el.$_ptooltipHideDelay;
event.code === 'Escape' && hide(event.currentTarget, hideDelay); event.code === 'Escape' && hide(event.currentTarget, hideDelay);
} }