includes/clientside/tinymce/plugins/searchreplace/js/searchreplace.js
changeset 476 f26a69c40431
parent 459 31c23016ab62
child 543 dffcbfbc4e59
equal deleted inserted replaced
475:51386f1852b8 476:f26a69c40431
    88 		}
    88 		}
    89 
    89 
    90 		se.collapse(b);
    90 		se.collapse(b);
    91 		r = se.getRng();
    91 		r = se.getRng();
    92 
    92 
       
    93 		// Whats the point
       
    94 		if (!s)
       
    95 			return;
       
    96 
    93 		if (tinymce.isIE) {
    97 		if (tinymce.isIE) {
    94 			if (r.findText(s, b ? -1 : 1, fl)) {
    98 			if (r.findText(s, b ? -1 : 1, fl)) {
    95 				r.scrollIntoView();
    99 				r.scrollIntoView();
    96 				r.select();
   100 				r.select();
    97 			} else
   101 			} else