Skip to content

Commit

Permalink
Bound the original handler to this.
Browse files Browse the repository at this point in the history
Closes arduino#977

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
  • Loading branch information
Akos Kitta authored and kittaakos committed Jun 14, 2022
1 parent 4c62431 commit a9aac0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,5 @@ DockPanel.prototype.handleEvent = function (event) {
case 'p-drop':
return;
}
originalHandleEvent(event);
originalHandleEvent.bind(this)(event);
};

0 comments on commit a9aac0d

Please sign in to comment.