Index: trunk/extensions/GoogleMaps/export/GoogleMapsJsExporter.php |
— | — | @@ -182,7 +182,7 @@ |
183 | 183 | if (overlay) { |
184 | 184 | if (overlay.tabs) { |
185 | 185 | overlay.openInfoWindowTabsHtml(overlay.tabs); |
186 | | - } elseif (overlay.title_link || overlay.caption || overlay.maxContent) { |
| 186 | + } else if (overlay.title_link || overlay.caption || overlay.maxContent) { |
187 | 187 | overlay.openInfoWindowHtml('<div class="gmapinfowindow">'+ |
188 | 188 | (overlay.title?('<b>'+overlay.title_link+'</b><br />'):'')+overlay.caption+'</div>', |
189 | 189 | { 'maxTitle': overlay.maxContent?overlay.title:undefined, 'maxContent': overlay.maxContent }); |