projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34018f7
)
Roo/bootstrap/Navbar.js
author
Alan Knowles
<alan@roojs.com>
Thu, 29 Nov 2018 05:15:43 +0000
(13:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 29 Nov 2018 05:15:43 +0000
(13:15 +0800)
Roo/bootstrap/Navbar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Navbar.js
b/Roo/bootstrap/Navbar.js
index
bccb871
..
a18bcb6
100644
(file)
--- a/
Roo/bootstrap/Navbar.js
+++ b/
Roo/bootstrap/Navbar.js
@@
-58,18
+58,17
@@
Roo.extend(Roo.bootstrap.Navbar, Roo.bootstrap.Component, {
ce.addClass('collapsing');
var h = ce.getHeight();
ce.setHeight(0); // resize it ...
-
+ ce.on('transitionend', function() {
// now flag it as moving..
- (function() {
ce.removeClass('collapsing');
ce.addClass('show');
ce.removeClass('collapse');
ce.dom.style.height = '';
- }
).defer(500
);
+ }
, true
);
ce.setHeight(h);
} else {