mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Add missing radix information in parseInt().
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -149,11 +149,11 @@ function loadCacheInfo() {
|
||||
}
|
||||
|
||||
// Fill table with obtained values
|
||||
$("#cache-size").text(parseInt(data.cacheinfo["cache-size"]));
|
||||
$("#cache-inserted").text(parseInt(data.cacheinfo["cache-inserted"]));
|
||||
$("#cache-size").text(parseInt(data.cacheinfo["cache-size"], 10));
|
||||
$("#cache-inserted").text(parseInt(data.cacheinfo["cache-inserted"], 10));
|
||||
|
||||
// Highlight early cache removals when present
|
||||
var cachelivefreed = parseInt(data.cacheinfo["cache-live-freed"]);
|
||||
var cachelivefreed = parseInt(data.cacheinfo["cache-live-freed"], 10);
|
||||
$("#cache-live-freed").text(cachelivefreed);
|
||||
if (cachelivefreed > 0) {
|
||||
$("#cache-live-freed").parent("tr").addClass("lookatme");
|
||||
|
||||
Reference in New Issue
Block a user