mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-16 13:06:06 +00:00
Revert "Merge pull request #1371 from AgentTNT/AdminLTE-Upgrade"
This reverts commit929cb6302d
, reversing changes made to0418edddd9
.
This commit is contained in:
@ -287,18 +287,4 @@ function copy_otp_secret_to_clipboard() {
|
||||
navigator.clipboard.writeText(copyBox.value);
|
||||
$("#copy_tooltip").css("visibility", "visible");
|
||||
setTimeout(function(){ $("#copy_tooltip").css("visibility", "collapse"); }, 2000);
|
||||
}
|
||||
|
||||
// Side menu nav bar active selection
|
||||
/** add active class and stay opened when selected */
|
||||
var url = window.location;
|
||||
|
||||
// for sidebar menu entirely but not cover treeview
|
||||
$('ul.nav-sidebar a').filter(function() {
|
||||
return this.href == url;
|
||||
}).addClass('active');
|
||||
|
||||
// for treeview
|
||||
$('ul.nav-treeview a').filter(function() {
|
||||
return this.href == url;
|
||||
}).parentsUntil(".nav-sidebar > .nav-treeview").addClass('menu-open').prev('a').addClass('active');
|
||||
}
|
Reference in New Issue
Block a user