mirror of
https://github.com/prymitive/karma
synced 2026-08-23 11:56:20 +00:00
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:
@@ -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) {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user