drop unreachable code
parent
ee6c2097f5
commit
2e00214783
|
@ -487,16 +487,6 @@ define(['/api/config'], function (ApiConfig) {
|
|||
CKEDITOR.tools.callFunction(fw._.frameLoadedHandler, _iframe.contentWindow);
|
||||
}, 10);
|
||||
return;
|
||||
|
||||
// Work around Firefox bug - error prune when called from XUL (http://dev.ckeditor.com/ticket/320),
|
||||
// defer it thanks to the async nature of this method.
|
||||
try {
|
||||
doc.write( data );
|
||||
} catch ( e ) {
|
||||
setTimeout( function() {
|
||||
doc.write( data );
|
||||
}, 0 );
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -737,4 +727,4 @@ CKEDITOR.config.disableNativeSpellChecker = true;
|
|||
* @member CKEDITOR.editor
|
||||
* @param {CKEDITOR.editor} editor This editor instance.
|
||||
* @param {CKEDITOR.dom.element} data The element being added.
|
||||
*/
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue