MediaWiki:Wikiminiatlas.js: Difference between revisions

(quick close tag in create mode per jquery docs and faint recollections of an IE bug)
(link is protocol relative in the template now)
Line 443: Line 443:
     ,ex,ey;
     ,ex,ey;
   for( i = 0; i < l.length; ++i ) {
   for( i = 0; i < l.length; ++i ) {
   if( l[i].href === 'http://en.wikipedia.org/w/index.php?title=Template:Attached_KML/'+mw.config.get( 'wgPageName' )+'&action=raw' ) {
   if( l[i].href === '//en.wikipedia.org/w/index.php?title=Template:Attached_KML/'+mw.config.get( 'wgPageName' )+'&action=raw' ) {
     coordinates = 1;
     coordinates = 1;
     $.ajax({
     $.ajax({