roojs-bootstrap.js
[roojs1] / roojs-bootstrap-debug.js
index 5aa266f..8662a4c 100644 (file)
@@ -485,7 +485,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         } else {
             cfg.tag = this.tag;
         }
-        cfg.html = this.html || cfg.html;
+        cfg.html = '<span class="roo-button-text">' + (this.html || cfg.html) + '</span>';
         
         if (this.toggle == true) {
             cfg={