lib/onebox/engine/google_maps_onebox.rb in onebox-1.9.25 vs lib/onebox/engine/google_maps_onebox.rb in onebox-1.9.26

- old
+ new

@@ -52,12 +52,10 @@ def to_html "<div class='maps-onebox'><iframe src=\"#{link}\" width=\"690\" height=\"400\" frameborder=\"0\" style=\"border:0\">#{placeholder_html}</iframe></div>" end def placeholder_html - width = @placeholder_width || 690 - height = @placeholder_height || 400 - "<img src='#{@placeholder}' width='#{width}' height='#{height}'/>" + ::Onebox::Helpers.map_placeholder_html end private def data