mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 23:45:52 +00:00
fixed: onpaste handler used window.event (non-standard)
broke paste on FF/win
This commit is contained in:
1 parent
70ee391b33
commit
63815eb5c2
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user