Changeset 4223 for FCKeditor/trunk/editor/fckeditor.html
- Timestamp:
- 2009-09-11 18:26:00 (3 years ago)
- File:
-
- 1 edited
-
FCKeditor/trunk/editor/fckeditor.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/fckeditor.html
r2913 r4223 373 373 } 374 374 375 // Gecko browsers doesn't calculate well the IFRAME size so we must375 // Gecko and Webkit browsers don't calculate well the IFRAME size so we must 376 376 // recalculate it every time the window size changes. 377 if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera)377 if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari ) 378 378 { 379 379 window.onresize = function( e ) 380 380 { 381 // Running in Chrome makes the window receive the event including subframes.381 // Running in Firefox's chrome makes the window receive the event including subframes. 382 382 // we care only about this window. Ticket #1642. 383 383 // #2002: The originalTarget from the event can be the current document, the window, or the editing area. 384 if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))384 if ( e && e.originalTarget && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document )) 385 385 return ; 386 386
Note: See TracChangeset
for help on using the changeset viewer.
