Add one graph to page even when no graphs specified in URL.

This commit is contained in:
Julius Volz 2013-01-30 17:57:21 +01:00
parent f47dfc458c
commit 893eebe77c

View File

@ -327,6 +327,9 @@ function init() {
});
var options = parseGraphOptionsFromUrl();
if (options.length == 0) {
options.push({});
}
for (var i = 0; i < options.length; i++) {
addGraph(options[i]);
}