Merge pull request #4064 from qburst/4025--fix-undefined-hideDelay
4025 fix undefined hide delaypull/3999/head
commit
9fc1b3e625
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue