X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fhtmleditor%2FFilter.js;h=2e270bdd710ca79a950b1847e6dff075ba53fa73;hp=c8e7960282d149d084b4b3b2ffbbbe44abcd2c85;hb=579feecfc35dde5daf36dd73963d9eccec4aa030;hpb=d53523245fb41a72a991ca291fa2c2add813d0c6 diff --git a/Roo/htmleditor/Filter.js b/Roo/htmleditor/Filter.js index c8e7960282..2e270bdd71 100644 --- a/Roo/htmleditor/Filter.js +++ b/Roo/htmleditor/Filter.js @@ -34,7 +34,7 @@ Roo.htmleditor.Filter.prototype = { Roo.each( Array.from(dom.childNodes), function( e ) { switch(true) { - case e.nodeType == 8 && typeof(this.replaceComment) != 'undefined': // comment + case e.nodeType == 8 && this.replaceComment !== false: // comment this.replaceComment(e); return;