mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
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…
x
Reference in New Issue
Block a user