From 6a17a946036f60ddb280274caf4ca24709f3c8f6 Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 19 Feb 2013 17:12: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 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) {