mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
Merge branch 'release-1.2'
This commit is contained in:
commit
7e4d005ee1
File diff suppressed because one or more lines are too long
@ -779,9 +779,8 @@ Prometheus.Page.QueryParamHelper.prototype.parseQueryParamsOfOneGraph = function
|
||||
queryParams.forEach(function(tuple) {
|
||||
var optionNameAndValue = tuple.split('=');
|
||||
var optionName = optionNameAndValue[0];
|
||||
var optionValue = decodeURIComponent(optionNameAndValue[1]);
|
||||
|
||||
optionValue = optionValue.replace(/\+/g, " "); // $.param turns spaces into pluses
|
||||
var optionValue = decodeURIComponent(optionNameAndValue[1].replace(/\+/g, " "));
|
||||
|
||||
if (optionName == "tab") {
|
||||
optionValue = parseInt(optionValue); // tab is integer
|
||||
|
Loading…
Reference in New Issue
Block a user