|
@@ -832,8 +832,8 @@
|
|
//Highlight the target vroot name on the side bar
|
|
//Highlight the target vroot name on the side bar
|
|
$(".vroot.active").removeClass("active");
|
|
$(".vroot.active").removeClass("active");
|
|
$(".vroot").each(function(){
|
|
$(".vroot").each(function(){
|
|
- let rootname = $(this).attr("rootname");
|
|
|
|
- if ((currentPath.toLowerCase()).startsWith((rootname.toLowerCase()) + ":/")){
|
|
|
|
|
|
+ let rootname = $(this).attr("filepath");
|
|
|
|
+ if ((currentPath.toLowerCase()).startsWith((rootname.toLowerCase()))){
|
|
//This is the root we are currently in
|
|
//This is the root we are currently in
|
|
$(this).addClass("active");
|
|
$(this).addClass("active");
|
|
}
|
|
}
|