From 89ef5d5bbc91e844da64d4bb3f566c713da54ce4 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 18 Feb 2013 19:35:16 +0530 Subject: [PATCH] fix URL controller --- source/Ox.UI/js/Core/URL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {