mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
db_graph.js: move variable where it's used
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -13,8 +13,6 @@ var end__ = moment();
|
||||
var until = moment(end__).utc().valueOf() / 1000;
|
||||
var interval = 0;
|
||||
|
||||
var timeoutWarning = $("#timeoutWarning");
|
||||
|
||||
var dateformat = "MMMM Do YYYY, HH:mm";
|
||||
|
||||
$(function () {
|
||||
@@ -81,6 +79,8 @@ function compareNumbers(a, b) {
|
||||
}
|
||||
|
||||
function updateQueriesOverTime() {
|
||||
var timeoutWarning = $("#timeoutWarning");
|
||||
|
||||
$("#queries-over-time .overlay").show();
|
||||
timeoutWarning.show();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user