Fix undefined hideDelay

pull/4064/head^2
naved 2023-06-19 14:12:45 +05:30
parent d1900b56e6
commit 8f2e46bf0c
1 changed files with 3 additions and 0 deletions

View File

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