Fix navigation bug caused by entities in URIs
This commit is contained in:
parent
413a409447
commit
d35a4c33ef
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function Navigation(modules) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function navigate(url) {
|
function navigate(url) {
|
||||||
var path = url.split("/").slice(1);
|
var path = decodeURI(url).split("/").slice(1);
|
||||||
if(blog.tags[path[0]] != undefined) {
|
if(blog.tags[path[0]] != undefined) {
|
||||||
show(getArticlesList(path[0], path[1] == "all.html"));
|
show(getArticlesList(path[0], path[1] == "all.html"));
|
||||||
} else if(path[0] == blog.path.articlesPath) {
|
} else if(path[0] == blog.path.articlesPath) {
|
||||||
|
|
Loading…
Reference in a new issue