diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index 9c4cfab4..7eb19661 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -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) {