diff --git a/core/dom/node.js b/core/dom/node.js
index 6702609..ba22a1e 100644
a
|
b
|
CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { |
441 | 441 | * @returns {CKEDITOR.dom.element} The parent element. |
442 | 442 | */ |
443 | 443 | getParent: function( allowFragmentParent ) { |
444 | | var parent = this.$.parentNode; |
| 444 | var parent; |
| 445 | try { |
| 446 | parent = this.$.parentNode; |
| 447 | } |
| 448 | catch( e ) { |
| 449 | parent = null; |
| 450 | } |
445 | 451 | return ( parent && ( parent.nodeType == CKEDITOR.NODE_ELEMENT || allowFragmentParent && parent.nodeType == CKEDITOR.NODE_DOCUMENT_FRAGMENT ) ) ? new CKEDITOR.dom.node( parent ) : null; |
446 | 452 | }, |
447 | 453 | |