rather use ''.slice than ''.substr

This commit is contained in:
rolux 2012-05-24 11:56:52 +02:00
commit 5110267971
13 changed files with 29 additions and 29 deletions

View file

@ -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);
}
});