Skip to content

Commit c734142

Browse files
author
Akos Kitta
committed
Bound the original handler to this.
Closes arduino#977 Signed-off-by: Akos Kitta <[email protected]>
1 parent 2ce7e01 commit c734142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino-ide-extension/src/browser/theia/core/application-shell.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,5 +130,5 @@ DockPanel.prototype.handleEvent = function (event) {
130130
case 'p-drop':
131131
return;
132132
}
133-
originalHandleEvent(event);
133+
originalHandleEvent.bind(this)(event);
134134
};

0 commit comments

Comments
 (0)