FIX: Global event variable is not compatible with all browsers

This commit is contained in:
Vinoth Kannan 2017-12-05 11:27:08 +05:30
parent 4654f076f5
commit 37948838be
1 changed files with 1 additions and 2 deletions

View File

@ -424,8 +424,7 @@ export function isAppleDevice() {
export function clipboardData(e) {
return e.clipboardData ||
e.originalEvent.clipboardData ||
e.delegatedEvent.originalEvent.clipboardData ||
event.clipboardData;
e.delegatedEvent.originalEvent.clipboardData;
}
// This prevents a mini racer crash