Ticket #5843: 5843.patch
File 5843.patch, 537 bytes (added by , 13 years ago) |
---|
-
_source/plugins/selection/plugin.js
17 17 // In IE, the "selectionchange" event may still get thrown when 18 18 // releasing the WYSIWYG mode, so we need to check it first. 19 19 var sel = this.getSelection(); 20 if ( !sel )20 if ( !sel || !sel.document.$.window ) 21 21 return; 22 22 23 23 var firstElement = sel.getStartElement();