Template:Amplino

From 2012e.igem.org

(Difference between revisions)
Line 109: Line 109:
var page = currentPage ? currentPage : 'Home';
var page = currentPage ? currentPage : 'Home';
var url = location.pathname + '/' + page + '?action=edit';
var url = location.pathname + '/' + page + '?action=edit';
-
$("#menubar ul li:nth-child(3)").attr('href', url);
+
$("#menubar ul li:nth-child(3) a").attr('href', url);
}
}

Revision as of 13:49, 29 April 2012