fix url controller
This commit is contained in:
parent
7aafed8d25
commit
e96a1ef42e
1 changed files with 2 additions and 1 deletions
|
@ -441,7 +441,8 @@ Ox.URL = function(options) {
|
|||
obj[condition.key] = condition.value;
|
||||
});
|
||||
}
|
||||
return (hash.anchor || '') + hash.query ? '?' + Ox.serialize(obj) : '';
|
||||
return (hash.anchor || '')
|
||||
+ (hash.query ? '?' + Ox.serialize(obj) : '');
|
||||
}
|
||||
|
||||
function constructLocation(location) {
|
||||
|
|
Loading…
Reference in a new issue