summaryrefslogtreecommitdiffstats
path: root/htdocs
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-08-16 13:25:36 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-08-16 13:25:36 +0200
commita7db0e688693f175f4812da932aea2598fa9af60 (patch)
tree03fd8bad53242f6eb694e6eebccd460b22cfa302 /htdocs
parent0d36f50e05d91267ed72dbe7236c5d09d14764bc (diff)
downloadsmokeping-a7db0e688693f175f4812da932aea2598fa9af60.tar.gz
smokeping-a7db0e688693f175f4812da932aea2598fa9af60.tar.xz
split uri on & and ;
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/js/smokeping_zoom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/js/smokeping_zoom.js b/htdocs/js/smokeping_zoom.js
index 3f19db5..ff2d88d 100644
--- a/htdocs/js/smokeping_zoom.js
+++ b/htdocs/js/smokeping_zoom.js
@@ -22,7 +22,7 @@ function urlObj(url) {
urlBaseAndParameters = url.split("?");
this.urlBase = urlBaseAndParameters[0];
- this.urlParameters = urlBaseAndParameters[1].split(";");
+ this.urlParameters = urlBaseAndParameters[1].split(/[;&]/);
this.getUrlBase = urlObjGetUrlBase;
this.getUrlParameterValue = urlObjGetUrlParameterValue;