Ticket #5843: 5843_2.patch
File 5843_2.patch, 529 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.getWindow().$ ) 21 21 return; 22 22 23 23 var firstElement = sel.getStartElement();