Oberflächenadministratoren, SMW-Administratoren, SMW-Kuratoren, SMW-Editoren, Oversighter, Administratoren, Widget-Bearbeiter
1.204
Bearbeitungen
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; | |||
console.log("[mapResize] couter:", counter); | |||
const mapsLeafletList = window.mapsLeafletList; | |||
if ( | if (mapsLeafletList && mapsLeafletList.length) { | ||
mapsLeafletList.forEach(l => { | |||
if (l.map) { | if (l.map) { | ||
console.log("[mapResize] invalidateSize"); | console.log("[mapResize] invalidateSize"); |
Bearbeitungen