diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-16 13:25:36 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-16 13:25:36 +0200 |
commit | a7db0e688693f175f4812da932aea2598fa9af60 (patch) | |
tree | 03fd8bad53242f6eb694e6eebccd460b22cfa302 /htdocs/js | |
parent | 0d36f50e05d91267ed72dbe7236c5d09d14764bc (diff) | |
download | smokeping-a7db0e688693f175f4812da932aea2598fa9af60.tar.gz smokeping-a7db0e688693f175f4812da932aea2598fa9af60.tar.xz |
split uri on & and ;
Diffstat (limited to 'htdocs/js')
-rw-r--r-- | htdocs/js/smokeping_zoom.js | 2 |
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; |