proper fix for when then is a pointer event
This commit is contained in:
parent
e931f65632
commit
c25c470e21
1 changed files with 4 additions and 1 deletions
|
|
@ -198,7 +198,10 @@
|
|||
viewControl.setPosition(pos);
|
||||
updateLastAction();
|
||||
refresh();
|
||||
try { if (pos.then) pos.then(); } catch (e) { }
|
||||
let { then } = pos;
|
||||
if (typeof then === 'function') {
|
||||
then();
|
||||
}
|
||||
}).
|
||||
start();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue