mirror of
https://github.com/pi-hole/web.git
synced 2026-05-01 14:12:25 +01:00
Remove leftover of line chart option
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -283,11 +283,6 @@ function stateLoadCallback(itemName) {
|
||||
return data;
|
||||
}
|
||||
|
||||
function getGraphType() {
|
||||
// Only return line if `barchart_chkbox` is explicitly set to false. Else return bar
|
||||
return localStorage && localStorage.getItem("barchart_chkbox") === "false" ? "line" : "bar";
|
||||
}
|
||||
|
||||
function addFromQueryLog(domain, list) {
|
||||
var alertModal = $("#alertModal");
|
||||
var alProcessing = alertModal.find(".alProcessing");
|
||||
@@ -628,7 +623,6 @@ window.utils = (function () {
|
||||
setBsSelectDefaults: setBsSelectDefaults,
|
||||
stateSaveCallback: stateSaveCallback,
|
||||
stateLoadCallback: stateLoadCallback,
|
||||
getGraphType: getGraphType,
|
||||
validateMAC: validateMAC,
|
||||
validateHostname: validateHostname,
|
||||
addFromQueryLog: addFromQueryLog,
|
||||
|
||||
Reference in New Issue
Block a user