Merge pull request #18 from cloudflare/query-arg-fixes

Use the correct value when setting options via query string
This commit is contained in:
Matt Bostock
2017-03-29 12:36:35 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ var Option = (function(params) {
var q = QueryString.Parse();
if (q[this.QueryParam] != undefined) {
this.Set(val);
this.Set(q[this.QueryParam]);
}
if (currentVal != val) {

File diff suppressed because one or more lines are too long