Roo/bootstrap/breadcrumb/Item.js
authorAlan Knowles <alan@roojs.com>
Fri, 8 Jan 2021 04:42:46 +0000 (12:42 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 8 Jan 2021 04:42:46 +0000 (12:42 +0800)
Roo/bootstrap/breadcrumb/Item.js

index 592f9ec..25291f3 100644 (file)
@@ -45,7 +45,8 @@ Roo.extend(Roo.bootstrap.breadcrumb.Item, Roo.bootstrap.Component,  {
     {
 
         var cfg = {
-            tag: 'li'
+            tag: 'li',
+            cls : 'breadcrumb-item' + (this.active ? ' active' : '')
         };
         if (this.href !== false) {
             cfg.cn = [{