forked from 0x2620/pandora
make 'false' false
This commit is contained in:
parent
e9b2be3bf8
commit
103a05219a
1 changed files with 3 additions and 0 deletions
|
@ -235,6 +235,9 @@ Ox.load('UI', {
|
|||
vars.forEach(function(v) {
|
||||
v = v.split('=');
|
||||
query[v[0]] = decodeURIComponent(v[1]);
|
||||
if (query[v[0]] == 'false') {
|
||||
query[v[0]] = false;
|
||||
}
|
||||
});
|
||||
|
||||
return Ox.extend({}, defaults, query);
|
||||
|
|
Loading…
Reference in a new issue