Don't add glow property for percentage if not changed

This commit is contained in:
DL6ER
2017-03-25 12:45:07 +01:00
parent 108f7f34fe
commit 57e2039a39

View File

@@ -378,7 +378,9 @@ function updateSummaryData(runOnce) {
["ads_blocked_today", "dns_queries_today", "ads_percentage_today"].forEach(function(today) {
var todayElement = $("h3#" + today);
todayElement.text() !== data[today] && todayElement.addClass("glow");
todayElement.text() !== data[today] &&
todayElement.text() !== data[today] + "%" &&
todayElement.addClass("glow");
});
window.setTimeout(function() {