FIX: Global event variable is not compatible with all browsers
This commit is contained in:
parent
4654f076f5
commit
37948838be
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue