Ticket #5794: 5794_2.patch
File 5794_2.patch, 640 bytes (added by , 13 years ago) |
---|
-
_source/plugins/find/dialogs/find.js
324 324 nextRangeWalker, 325 325 cursors = this._.cursors; 326 326 327 if ( ( lastCursor = cursors[ cursors.length - 1 ] ) )327 if ( ( lastCursor = cursors[ cursors.length - 1 ] ) && lastCursor.textNode ) 328 328 nextRangeWalker = new characterWalker( getRangeAfterCursor( lastCursor ) ); 329 329 // In case it's an empty range (no cursors), figure out next range from walker (#4951). 330 330 else