Browse Source

Fix Menu dropdowns not closing in IE11 #409

pull/433/head
Mohammad Younes 11 years ago
parent
commit
44b16bdb5d
1 changed files with 4 additions and 1 deletions
  1. 5
      src/modules/transition.js

5
src/modules/transition.js

@ -170,11 +170,14 @@ $.fn.transition = function() {
var fakeAssignment = element.offsetWidth;
if (removeThenAdd) {
var parent = $module.parent();
//element not attached yet.
if (parent.length == 0)
return;
var next = $module.next();
if (next.length == 0)
$module.detach().appendTo(parent);
else
$module.detach().before(next);
$module.detach().insertBefore(next);
}
},

Loading…
Cancel
Save