Fix undefined hideDelay
parent
d1900b56e6
commit
8f2e46bf0c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue