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