diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index 34710db2..7eb19661 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('/') - + (!Ox.isEmpty(state.hash) ? '#' + constructHash(state.hash) : ''); + + (state.hash ? '#' + constructHash(state.hash) : ''); } function constructValue(str, key) {