summaryrefslogtreecommitdiff
path: root/src/examples/rrdContent.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/rrdContent.html')
-rw-r--r--src/examples/rrdContent.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/rrdContent.html b/src/examples/rrdContent.html
index 0de5d66..ca77147 100644
--- a/src/examples/rrdContent.html
+++ b/src/examples/rrdContent.html
@@ -107,7 +107,7 @@
// This function updates the Web Page with the data from the RRD archive
function element_update() {
oSelDS=document.getElementById("select_ds");
- ds_idx=oSelDS.options[oSelDS.selectedIndex].value;
+ ds_idx=Math.round(oSelDS.options[oSelDS.selectedIndex].value);
oSelRRA=document.getElementById("select_rra");
rra_idx=oSelRRA.options[oSelRRA.selectedIndex].value;