fixed: onpaste handler used window.event (non-standard)

broke paste on FF/win
This commit is contained in:
daboe01 committed 2017-09-07 19:19:19 +02:00
1 parent 70ee391b33
commit 63815eb5c2
1 file changed
+1 -1
+1 -1
View File
@@ -2606,7 +2606,7 @@ var _CPCopyPlaceholder = '-';
isPlain = YES;
// this is the rich chrome / FF codepath (where we can use RTF directly)
if ((richtext = nativeClipboard.getData('text/rtf')) && !(!!window.event.shiftKey) && !isPlain)
if ((richtext = nativeClipboard.getData('text/rtf')) && !(!!(e.originalEvent || e).shiftKey) && !isPlain)
{
e.preventDefault();