Skip to content

Commit a9aac0d

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
Bound the original handler to this.
Closes arduino#977 Signed-off-by: Akos Kitta <[email protected]>
1 parent 4c62431 commit a9aac0d

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)