Skip to content

Commit dce5c15

Browse files
author
Alex
committed
Internal: Use corrent this_ when checking for open context menu
1 parent a19b9dd commit dce5c15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export class Internal {
211211
'pointerdown',
212212
{
213213
handleEvent: function(e) {
214-
if (this.opened) {
214+
if (this_.opened) {
215215
this_.closeMenu();
216216
e.stopPropagation();
217217
evt.target.removeEventListener(e.type, this, false);

0 commit comments

Comments
 (0)