MediaWiki:Common.js: Difference between revisions

no edit summary
m (Reverted edits by Ahancey (talk) to last revision by Ericmichaelcollett)
No edit summary
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/fb475b4b8b90015077ceaacf6e7da613a50d74a9/location-map.html';
/* CHANGE NEEDED: replace URL below every time the location-map.html is changed */
         locationMap.href = 'https://gist.githubusercontent.com/ahancey/a86414a07c7c1466cc36ffb790a0817d/raw/ea386e7d97c9dc73f687bbd6b01112101bbca9bc/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);
2,664

edits