MediaWiki:Wikiminiatlas.js: Difference between revisions
a little air for the icon to breathe
(add the WMA to pseudo-title-coordinate items (such as those generated by Attached KML)) |
(a little air for the icon to breathe) |
||
Line 4: | Line 4: | ||
// <nowiki> | // <nowiki> | ||
// | // | ||
// Revision 16. | // Revision 16.6 | ||
jQuery(function ($) { | jQuery(function ($) { | ||
Line 571: | Line 571: | ||
if(!titlebutton ) { | if(!titlebutton ) { | ||
if( $('#coordinates').length ) { | if( $('#coordinates').length ) { | ||
$('#coordinates').append(mapbutton); | $('#coordinates').append(mapbutton.css('margin-left','0.3em')); | ||
} else { | } else { | ||
$('<span id="coordinates">Map </span>').append(mapbutton).appendTo('#bodyContent'); | $('<span id="coordinates">Map </span>').append(mapbutton).appendTo('#bodyContent'); |