Fixing gmaps

This commit is contained in:
Will Marshall
2014-06-05 17:16:19 +10:00
parent ebe40d3b3d
commit c09ffa832c
2 changed files with 1 additions and 3 deletions

View File

@@ -9,6 +9,7 @@
%link{href: "http://fonts.googleapis.com/css?family=Open+Sans:400,700", rel: "stylesheet", type: "text/css"}/
= yield :scripts
%script{src: "//maps.googleapis.com/maps/api/js?sensor=false"}
= stylesheet_link_tag "darkswarm/all"
= javascript_include_tag "darkswarm/all"

View File

@@ -1,6 +1,3 @@
- content_for :scripts do
%script{src: "//maps.googleapis.com/maps/api/js?sensor=false"}
= inject_json "enterprisesForMap" , "enterprises_for_map", collection: @enterprises
.ofn-map-container{"fill-vertical" => true}