MediaWiki:Common.js: Difference between revisions

m
no edit summary
(Fixed problem with dragging firing click event on map)
mNo edit summary
Line 390: Line 390:
         s.parentNode.insertBefore(locationMap, s);
         s.parentNode.insertBefore(locationMap, s);


         document.querySelector('#mw-content-text p').innerHTML = "<div style='width: 1000px; height:500px;'><location-map></location-map></div>";
         document.querySelector('#mw-content-text p').innerHTML = "<div style='max-width: 1000px; height:500px;'><location-map></location-map></div>";
     }
     }
})();
})();