add part span in constructUrl
This commit is contained in:
parent
62ade0f54f
commit
1554d19f91
1 changed files with 3 additions and 0 deletions
|
@ -537,6 +537,9 @@ Ox.URL = function(options) {
|
||||||
parts.push(state.page);
|
parts.push(state.page);
|
||||||
if (state.part) {
|
if (state.part) {
|
||||||
parts.push(state.part);
|
parts.push(state.part);
|
||||||
|
if (state.span) {
|
||||||
|
parts.push(encodeValue(state.span));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (self.options.types.indexOf(state.type) > 0) {
|
if (self.options.types.indexOf(state.type) > 0) {
|
||||||
|
|
Loading…
Reference in a new issue