mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 06:17:27 -08:00
parent
f46a8e9ea4
commit
6a767b736b
File diff suppressed because one or more lines are too long
|
@ -364,7 +364,7 @@ Prometheus.Graph.prototype.submitQuery = function() {
|
|||
|
||||
var startTime = new Date().getTime();
|
||||
var rangeSeconds = self.parseDuration(self.rangeInput.val());
|
||||
var resolution = self.queryForm.find("input[name=step_input]").val() || Math.max(Math.floor(rangeSeconds / 250), 1);
|
||||
var resolution = parseInt(self.queryForm.find("input[name=step_input]").val()) || Math.max(Math.floor(rangeSeconds / 250), 1);
|
||||
var endDate = self.getEndDate() / 1000;
|
||||
|
||||
if (self.queryXhr) {
|
||||
|
|
Loading…
Reference in a new issue