Line 1: | Line 1: | ||
− | + | ||
+ | $( document ).ready( function() { | ||
+ | $('link[rel="shortcut icon"]').attr('href','https://aerohive.com/sites/all/themes/aerohivenetworks/favicon.ico'); | ||
+ | }); | ||
+ | |||
+ | window.onload = title_update(); | ||
function title_update(){ | function title_update(){ |
Revision as of 20:34, 1 November 2017
$( document ).ready( function() { $('link[rel="shortcut icon"]').attr('href','https://aerohive.com/sites/all/themes/aerohivenetworks/favicon.ico'); });
window.onload = title_update();
function title_update(){ var title = "iGEM Heidelberg 2017"; var page = "{{{1}}}"; if(!page.startsWith("{{{1")){ title = page + " - " + title; } document.title = title; }