Roo/bootstrap/NavSidebarItem.js
authorAlan Knowles <alan@roojs.com>
Mon, 21 Mar 2016 07:37:06 +0000 (15:37 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 21 Mar 2016 07:37:06 +0000 (15:37 +0800)
Roo/bootstrap/NavSidebarItem.js

index 0d789e5..fe026da 100644 (file)
@@ -58,11 +58,11 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
             tag: 'li',
             cls: '',
             cn: [ a ]
-        }
+        };
         var span = {
             tag: 'span',
             html : this.html || ''
-        }
+        };
         
         
         if (this.active) {
@@ -102,10 +102,10 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
     initEvents : function()
     { 
         this.el.on('click', this.onClick, this);
-        Roo.log("set badgeEl? ", this.badge);
+       
     
         if(this.badge !== ''){
-            Roo.log("set badgeEl");
             this.badgeEl = this.el.select('.badge', true).first().setVisibilityMode(Roo.Element.DISPLAY);
         }