Roo/bootstrap/Input.js
authoredward <edward@roojs.com>
Fri, 11 May 2018 09:47:09 +0000 (17:47 +0800)
committeredward <edward@roojs.com>
Fri, 11 May 2018 09:47:09 +0000 (17:47 +0800)
Roo/bootstrap/Input.js

index 88123d0..31b5c5a 100644 (file)
@@ -1020,7 +1020,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
         
         if(this.indicator){
             var ar = this.el.select('label > span',true);
-            if (!ar.length) {
+            if (!ar.elements.length) {
                 Roo.log("could not find label > span on element");
                 Roo.log(this);
                 return;