add focus for the selected comparison in the list; fix light theme
This commit is contained in:
@@ -245,7 +245,10 @@ function buildData(table, images, data, sort, filter, exact_match) {
|
||||
};
|
||||
|
||||
for (let tr of document.querySelectorAll("table tr")) {
|
||||
tr.addEventListener("click", function() {
|
||||
tr.addEventListener("click", function(event) {
|
||||
this.parentElement.querySelector("tr.active")?.classList.toggle("active");
|
||||
event.stopPropagation();
|
||||
this.classList.toggle("active");
|
||||
this.querySelector("a").click();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user