mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-03 07:13:59 +01:00
Establish cM and consider in if statement
Avoids errors on content = cM.getValue line
This commit is contained in:
@@ -808,8 +808,8 @@ var ICEcoder = {
|
||||
results = top.document.getElementById('results');
|
||||
|
||||
// If we have something to find in currrent document
|
||||
if (find.length>0 && document.findAndReplace.target.value=="this document") {
|
||||
cM = ICEcoder.getcMInstance();
|
||||
cM = ICEcoder.getcMInstance();
|
||||
if (cM && find.length>0 && document.findAndReplace.target.value=="this document") {
|
||||
content = cM.getValue().toLowerCase();
|
||||
|
||||
// Find & replace the next instance, or all?
|
||||
|
||||
Reference in New Issue
Block a user