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

@ -33,7 +33,7 @@ pandora.ui.tv = function() {
lists = [''];
Ox.loop(3, function(f) {
menu.items[f + 1].items.forEach(function(l) {
lists.push(l.id.substr(8));
lists.push(l.id.slice(8));
});
});
}