Index: fckeditor.html =================================================================== --- fckeditor.html (revision 36739) +++ fckeditor.html (working copy) @@ -281,7 +281,7 @@ // Running in Chrome makes the window receive the event including subframes. // we care only about this window. Ticket #1642. // #2002: The originalTarget from the event can be the current document, the window, or the editing area. - if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document )) + if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget || !e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document )) return ; var oCell = document.getElementById( 'xEditingArea' ) ;