fix URL controller
This commit is contained in:
parent
e96a1ef42e
commit
89ef5d5bbc
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ Ox.URL = function(options) {
|
|||
}
|
||||
}
|
||||
return '/' + Ox.filter(parts).join('/')
|
||||
+ (state.hash ? '#' + constructHash(state.hash) : '');
|
||||
+ (!Ox.isEmpty(state.hash) ? '#' + constructHash(state.hash) : '');
|
||||
}
|
||||
|
||||
function constructValue(str, key) {
|
||||
|
|
Loading…
Reference in a new issue