Use the correct value when setting options via query string

Copy & paste bug, value from previous check is used instead of the correct one
This commit is contained in:
Łukasz Mierzwa
2017-03-28 15:37:44 -07:00
parent c633a2fafc
commit d2a9923dca
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