Roo/bootstrap/Button.js
authorJulian Knowles <julian@roojs.com>
Mon, 20 Jan 2014 10:49:00 +0000 (18:49 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 20 Jan 2014 10:49:00 +0000 (18:49 +0800)
Roo/bootstrap/Button.js

index 3474049..c498c0a 100644 (file)
@@ -117,12 +117,6 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
             
             delete cfg.html;
             
-        } else {
-            if (this.menu) {
-                this.tag='a'
-                cfg.cn[0].html = this.html  + ' <span class="caret"></span>';
-                cfg.cls += ' dropdown';
-            }
         }