add part span in constructUrl

This commit is contained in:
j 2015-02-05 06:29:46 +00:00
parent 62ade0f54f
commit 1554d19f91

View file

@ -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) {