Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Apr 26, 2018
1 parent 5b55d65 commit f6e3f80
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/client/sandbox/event/simulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,18 +322,6 @@ export default class EventSimulator {

originClick.call(el);

if (browserUtils.isIE11) {
if (this.savedNativeClickCount--)
this.savedWindowEvents.shift();

if (this.savedWindowEvents.length) {
nativeMethods.objectDefineProperty.call(window.Object, curWindow, 'event', {
get: () => this.savedWindowEvents[0],
configurable: true
});
}
}

// NOTE: Window.event becomes empty when the click event handler
// triggers the click event for a different element in IE11.(GH-226).
if (browserUtils.isIE11 && prevWindowEvent) {
Expand Down

0 comments on commit f6e3f80

Please sign in to comment.