MediaWiki:Common.js: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
K
fix #36
K (fix #36)
K (fix #36)
Zeile 159: Zeile 159:
$( document ).ready(function() {
$( document ).ready(function() {
   $('.tabs-label').click(function(e) {
   $('.tabs-label').click(function(e) {
  console.log("[mapResize] click tabs-label");
     var mapExists = setInterval(function() {
     var mapExists = setInterval(function() {
    var counter = 0;
    var counter = 0;
    console.log("[mapResize] couter:", counter);
    console.log("[mapResize] couter:", counter);
const maplist = window.mapsLeafletList;
const mapsLeafletList = window.mapsLeafletList;
if (maplist) {
if (mapsLeafletList && mapsLeafletList.length) {
maplist.forEach(l => {
mapsLeafletList.forEach(l => {
if (l.map) {
if (l.map) {
console.log("[mapResize] invalidateSize");
console.log("[mapResize] invalidateSize");

Navigationsmenü