Skip to content

Commit

Permalink
enable user disable VIP panels
Browse files Browse the repository at this point in the history
  • Loading branch information
z5ouyang committed Feb 23, 2024
1 parent 6cdf7f6 commit eaca8a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions interface.html
Original file line number Diff line number Diff line change
Expand Up @@ -2089,6 +2089,14 @@ <h3>Load saved session</h3>
if(one.startsWith("Initial Session")){
$("#LOADurl").val(one.split(/:(.+)/)[1].trim());
}
if(one.startsWith("Disable Panel")){
var rmPanels = one.split(":")[1].split(",").map(function(item){return item.trim();});
var a = $('.tablinks').each(function(i, obj) {
if(rmPanels.includes($(obj).text())){
$(obj).hide();
}
});
}
}
window.store.dispatch({type: "show centroid labels for category", showLabels: true});

Expand Down

0 comments on commit eaca8a0

Please sign in to comment.