Benutzer:Ryuka/monoblack.js: Unterschied zwischen den Versionen
Aus GuildWiki
Ryuka (Diskussion | Beiträge) |
Ryuka (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
//Cursor bei Suche | //Cursor bei Suche | ||
− | if (wgPageName == "Hauptseite"){ | + | if (wgPageName == "Hauptseite" || wgPageName == "Benutzer:Ryuka"){ |
addOnloadHook( | addOnloadHook( | ||
function(){document.forms.searchform.searchInput.focus();} | function(){document.forms.searchform.searchInput.focus();} | ||
); | ); | ||
} | } |
Version vom 12. September 2016, 13:44 Uhr
//Cursor bei Suche if (wgPageName == "Hauptseite" || wgPageName == "Benutzer:Ryuka"){ addOnloadHook( function(){document.forms.searchform.searchInput.focus();} ); }