lib/onebox/engine/google_maps_onebox.rb in onebox-1.8.3 vs lib/onebox/engine/google_maps_onebox.rb in onebox-1.8.4
- old
+ new
@@ -46,10 +46,10 @@
def streetview?
!!@streetview
end
def to_html
- "<div class='maps-onebox'>#{Helpers.click_to_scroll_div + "<iframe src=\"#{link}\" width=\"690\" height=\"400\" frameborder=\"0\" style=\"border:0\">#{placeholder_html}</iframe>"}</div>"
+ "<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