Fixed problem with %-encoded URIs
This commit is contained in:
parent
15739ac7cc
commit
105a564c7d
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ App.Router = function(_, jQuery, promise, util, appState, presenterManager) {
|
|||
}
|
||||
|
||||
function dispatch() {
|
||||
var url = document.location.hash;
|
||||
var url = decodeURI(document.location.hash);
|
||||
for (var i = 0; i < routes.length; i ++) {
|
||||
var route = routes[i];
|
||||
if (route.match(url)) {
|
||||
|
|
Loading…
Reference in a new issue