Roo/bootstrap/NavItem.js
authorAlan Knowles <alan@roojs.com>
Mon, 25 Aug 2014 06:39:55 +0000 (14:39 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 25 Aug 2014 06:39:55 +0000 (14:39 +0800)
Roo/bootstrap/NavItem.js

index b8751af..7cd46bb 100644 (file)
@@ -78,7 +78,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
             if (this.icon) {
                 cfg.cn[0].html = '<i class="'+this.icon+'"></i><span>' + cfg.cn[0].html || this.html + '</span>'
             } else {
-                cfg.html= '<span class="glyphicon glyphicon-' + this.glyphicon + '"></span>';
+                cfg.html += '<span class="glyphicon glyphicon-' + this.glyphicon + '"></span>';
             }
         }