Remove pointer cursor when auto-filtering is disabled.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2020-04-23 09:34:06 +02:00
parent c24900ddff
commit 51064df4fd

View File

@@ -436,9 +436,9 @@ $(document).ready(function() {
},
function() {
this.style.color = "";
this.style.cursor = "";
}
);
api.$("td:eq(1)").css("cursor", "pointer");
// Domain
api.$("td:eq(2)").click(function(event) {
@@ -450,9 +450,9 @@ $(document).ready(function() {
},
function() {
this.style.color = "";
this.style.cursor = "";
}
);
api.$("td:eq(2)").css("cursor", "pointer");
// Client
api.$("td:eq(3)").click(function(event) {
@@ -464,9 +464,9 @@ $(document).ready(function() {
},
function() {
this.style.color = "";
this.style.cursor = "";
}
);
api.$("td:eq(3)").css("cursor", "pointer");
}
});
@@ -505,9 +505,11 @@ function addFilteringHint(obj, text)
if (autofilter()) {
obj.title = "Click to show only queries " + text;
obj.style.color = "#72afd2";
obj.style.cursor = "pointer";
} else {
obj.title = "";
obj.style.color = "";
obj.style.cursor = "";
}
}