Commits

Mikhail Korobov committed 5405241

Append px to width and height in default map template

  • Participants
  • Parent commits 820f835

Comments (0)

Files changed (1)

easy_maps/templates/easy_maps/map.html

 {% block html %}
     <!-- HTML map container -->
     <div id="map-canvas-{{ map.pk }}"
-         {% if width %}style="width: {{ width }}; height: {{ height }};" {% endif %}
+         {% if width %}style="width: {{ width }}px; height: {{ height }}px;" {% endif %}
          class="easy-map-googlemap">
     </div>
 {% endblock %}