Add options for 720 and 1080 days in selector
This commit is contained in:
@@ -416,7 +416,7 @@ function generateMiniGraph(elem, comname, days = 30) {
|
|||||||
chartWindow.appendChild(closeButton);
|
chartWindow.appendChild(closeButton);
|
||||||
|
|
||||||
var selector = document.createElement('select');
|
var selector = document.createElement('select');
|
||||||
[30, 180, 360].forEach(function(opt) {
|
[30, 180, 360, 720, 1080].forEach(function(opt) {
|
||||||
var option = document.createElement('option');
|
var option = document.createElement('option');
|
||||||
option.value = opt;
|
option.value = opt;
|
||||||
option.text = opt + 'd';
|
option.text = opt + 'd';
|
||||||
|
|||||||
Reference in New Issue
Block a user