rather use ''.slice than ''.substr
This commit is contained in:
parent
018eb899f2
commit
5110267971
13 changed files with 29 additions and 29 deletions
|
|
@ -157,7 +157,7 @@ function constructList() {
|
|||
else
|
||||
info.html(app.site.default_info);
|
||||
|
||||
document.location.hash = hash.substring(0, hash.length-1);
|
||||
document.location.hash = hash.slice(0, -1);
|
||||
app.$ui.actionInfo.html(info);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue