MediaWiki:Common.js: Difference between revisions

Fixed problem with dragging firing click event on map
(Updated Guided Research Map)
(Fixed problem with dragging firing click event on map)
Line 386: Line 386:
         var locationMap = document.createElement('link');
         var locationMap = document.createElement('link');
         locationMap.rel = 'import';
         locationMap.rel = 'import';
         locationMap.href = 'https://gist.githubusercontent.com/ecollett1/6acc6d3d51f82f9b142e7f5274ae8592/raw/5f50b10098629c3c5c74568da821300acd4d639a/location-map.html';
         locationMap.href = 'https://gist.githubusercontent.com/ecollett1/6acc6d3d51f82f9b142e7f5274ae8592/raw/bf7ed0f04a0032655376882be7c5dd19149cde06/location-map.html';
         var s = document.getElementsByTagName('script')[0];
         var s = document.getElementsByTagName('script')[0];
         s.parentNode.insertBefore(locationMap, s);
         s.parentNode.insertBefore(locationMap, s);