namibia
6abb4229a12dfab10e8a3fcb64d3f905585bf972
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
var template_home = function( static ) { this.static = static; this.elements = {}; this.construct = function() { $('body').removeClass("black"); var location = '#/'; $('.select_page').removeClass('select_page'); $('a[href="/' + location +'"]').closest('li').addClass('select_page'); }; this.destruct = function() {}; }; |
Commits for namibia/public/templates/page/home.js
Revision | Author | Commited | Message |
---|---|---|---|
df0489 ... | Mark | Fri 14 Oct, 2016 10:01:00 +0000 | initial commit |