diff options
-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; |