r106549 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106548‎ | r106549 | r106550 >
Date:02:12, 18 December 2011
Author:mah
Status:ok
Tags:
Comment:
fix js error
Modified paths:
  • /trunk/extensions/GoogleMaps/export/GoogleMapsJsExporter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GoogleMaps/export/GoogleMapsJsExporter.php
@@ -182,7 +182,7 @@
183183 if (overlay) {
184184 if (overlay.tabs) {
185185 overlay.openInfoWindowTabsHtml(overlay.tabs);
186 - } elseif (overlay.title_link || overlay.caption || overlay.maxContent) {
 186+ } else if (overlay.title_link || overlay.caption || overlay.maxContent) {
187187 overlay.openInfoWindowHtml('<div class="gmapinfowindow">'+
188188 (overlay.title?('<b>'+overlay.title_link+'</b><br />'):'')+overlay.caption+'</div>',
189189 { 'maxTitle': overlay.maxContent?overlay.title:undefined, 'maxContent': overlay.maxContent });

Status & tagging log