//Porting more components to bootstrap
This commit is contained in:
+7
-4
@@ -1001,22 +1001,25 @@ function quickSelect(elt)
|
||||
|
||||
function adminNav(navId)
|
||||
{
|
||||
$(".submenu-collapse").remove();
|
||||
if($(".expanded").length ){
|
||||
$(".expanded > ul").slideUp(
|
||||
"fast",
|
||||
function(){
|
||||
var $target = $(".expanded").not(".active");
|
||||
$target.removeClass("expanded");
|
||||
$(navId).not(".active").not($target).addClass("expanded");
|
||||
$(navId).not($target).addClass("expanded");
|
||||
$(navId).not($target).children("ul:first").hide().slideDown();
|
||||
|
||||
}
|
||||
);
|
||||
}
|
||||
else{
|
||||
$(navId).not(".active").addClass("expanded");
|
||||
$(navId).not(".active").children("ul:first").hide().slideDown();
|
||||
}
|
||||
}
|
||||
|
||||
$( document ).ready(function() {
|
||||
$('.label-tooltip').tooltip({
|
||||
})
|
||||
});
|
||||
$('.label-tooltip').tooltip();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user