// Bootstrap3 - Cart_rules > information.tpl + header + Font Awesome + Switch
This commit is contained in:
+1
-26
@@ -997,29 +997,4 @@ function quickSelect(elt)
|
||||
window.open(eltVal.substr(0, eltVal.length - 6), '_blank');
|
||||
else
|
||||
location.href = eltVal;
|
||||
}
|
||||
|
||||
function adminNav(navId)
|
||||
{
|
||||
$(".submenu-collapse").remove();
|
||||
if($(".expanded").length ){
|
||||
$(".expanded > ul").slideUp(
|
||||
"fast",
|
||||
function(){
|
||||
var $target = $(".expanded").not(".active");
|
||||
$target.removeClass("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();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user