Files
CouchPotatoServer/couchpotato/static/scripts/block/navigation.js
T
Ruud 8682be33fb Settings
Movie List
Directory selection
2011-02-21 22:42:24 +01:00

20 lines
272 B
JavaScript

Block.Navigation = new Class({
Extends: BlockBase,
create: function(){
var self = this;
self.el = new Element('ul.navigation');
},
addTab: function(tab){
var self = this
return new Element('li').adopt(
new Element('a', tab)
).inject(self.el)
}
});