Roo/bootstrap/NavItem.js
authorAlan Knowles <alan@roojs.com>
Tue, 4 Dec 2018 09:31:26 +0000 (17:31 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 4 Dec 2018 09:31:26 +0000 (17:31 +0800)
Roo/bootstrap/NavItem.js

index 5423fee..b57679f 100644 (file)
@@ -137,7 +137,9 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
            this.tag = 'div';
        }
        
-        return Roo.bootstrap.NavItem.superclass.onRender.call(this, ct, position);
+        var ret = Roo.bootstrap.NavItem.superclass.onRender.call(this, ct, position);
+       this.navLink = this.el.select('nav-link').first();
+       return ret;
     },