MediaWiki:Common.js: Difference between revisions

Fixed Guided Research Map to navigate to Wales and England and not show counties, also fixed sizing for Firefox
No edit summary
(Fixed Guided Research Map to navigate to Wales and England and not show counties, also fixed sizing for Firefox)
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/1d8c8c951ee27eeddac37b28ad454fea3f341d59/location-map.html';
         locationMap.href = 'https://gist.githubusercontent.com/ecollett1/6acc6d3d51f82f9b142e7f5274ae8592/raw/8ff8d398051c7fae0cf31bb99bab0a31f28c45ad/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);