X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=a5e171cc4691f6b8788f441479ee20aef8da1be6;hp=c65c23b6758e00a4b80a394125b1b4cbd59d94ca;hb=3c34d062a8d246a6c80c1e8146dfcea3e35e7a5e;hpb=feb7d33d1facef983976eecb6e475e11054f80ba diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index c65c23b675..a5e171cc46 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -26688,7 +26688,7 @@ Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter, if (!ns.className.match(/(MsoListParagraph|ql-indent-1)/i)) { break; } - if (ns.getAttribute('style').match(/mso-list/)) { + if (ns.hasAttribute('style') && ns.getAttribute('style').match(/mso-list/)) { items.push(ns); ns = ns.nextSibling; has_list = true; @@ -26700,7 +26700,7 @@ Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter, } var has_list = false; for(var i = 0; i < spans.length; i++) { - if (spans[i].getAttribute('style').match(/mso-list/)) { + if (spans[i].hasAttribute('style') && spans[i].getAttribute('style').match(/mso-list/)) { has_list = true; break; }