Roo/bootstrap/Navbar.js
authorAlan Knowles <alan@roojs.com>
Thu, 29 Nov 2018 05:16:37 +0000 (13:16 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 29 Nov 2018 05:16:37 +0000 (13:16 +0800)
Roo/bootstrap/Navbar.js

index a18bcb6..fc1fd00 100644 (file)
@@ -60,15 +60,12 @@ Roo.extend(Roo.bootstrap.Navbar, Roo.bootstrap.Component,  {
                     ce.setHeight(0); // resize it ...
                     ce.on('transitionend', function() {
                     
-                     
-                    // now flag it as moving..
-                    
                         ce.removeClass('collapsing');
                         ce.addClass('show');
                         ce.removeClass('collapse');
 
                         ce.dom.style.height = '';
-                    }, true);
+                    }, this, { single: true} );
                     ce.setHeight(h);
                     
                 } else {