Merge pull request #4064 from qburst/4025--fix-undefined-hideDelay

4025  fix undefined hide delay
pull/3999/head
Tuğçe Küçükoğlu 2023-06-20 10:33:59 +03:00 committed by GitHub
commit 9fc1b3e625
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);
} }