MediaWiki:Common.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „→Das folgende JavaScript wird für alle Benutzer geladen.: mw.config.set( 'tableSorterCollation', {'Ä':'A', 'Ö':'O', 'Ü':'U', 'ä':'a', 'ö':'o', 'ü':…“) |
K |
||
Zeile 2: | Zeile 2: | ||
mw.config.set( 'tableSorterCollation', {'Ä':'A', 'Ö':'O', 'Ü':'U', 'ä':'a', 'ö':'o', 'ü':'u', 'ß':'ss'} ); | mw.config.set( 'tableSorterCollation', {'Ä':'A', 'Ö':'O', 'Ü':'U', 'ä':'a', 'ö':'o', 'ü':'u', 'ß':'ss'} ); | ||
+ | |||
+ | $(function() { | ||
+ | if (location.hash) { | ||
+ | var anchor = $(location.hash).get(0); | ||
+ | if (anchor) | ||
+ | anchor.scrollIntoView(); | ||
+ | } | ||
+ | }); |
Aktuelle Version vom 27. März 2019, 12:58 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */
mw.config.set( 'tableSorterCollation', {'Ä':'A', 'Ö':'O', 'Ü':'U', 'ä':'a', 'ö':'o', 'ü':'u', 'ß':'ss'} );
$(function() {
if (location.hash) {
var anchor = $(location.hash).get(0);
if (anchor)
anchor.scrollIntoView();
}
});