diff options
| author | Bruno Perles | 2016-01-06 15:49:01 +0100 | 
|---|---|---|
| committer | Bruno Perles | 2016-01-07 09:28:51 +0100 | 
| commit | b861383dbb3f17a3de8a2a9d1eff41deebb98d56 (patch) | |
| tree | 701c11d41a117db712582565a87db3172ea24b26 /app/maps | |
| parent | f92d903c809b6c95438f6b4213ce9a0e5b4f3a49 (diff) | |
| download | chouette-core-b861383dbb3f17a3de8a2a9d1eff41deebb98d56.tar.bz2 | |
Update Map-fullscreen button to type=button
Diffstat (limited to 'app/maps')
| -rw-r--r-- | app/maps/application_map.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/app/maps/application_map.rb b/app/maps/application_map.rb index fb2cd897a..19b9038ec 100644 --- a/app/maps/application_map.rb +++ b/app/maps/application_map.rb @@ -73,7 +73,7 @@ class ApplicationMap    def to_html(options = {})      if not respond_to?(:ready?) or ready? -      expand = options[:no_fullscreen] ? '' : "<button data-ce-id=\"#{id}\" data-ce-action=\"map-fullscreen\" class=\"ce-MapExpandBlock\"><i class=\"fa fa-expand\"></i></button>" +      expand = options[:no_fullscreen] ? '' : "<button type=\"button\" data-ce-id=\"#{id}\" data-ce-action=\"map-fullscreen\" class=\"ce-MapExpandBlock\"><i class=\"fa fa-expand\"></i></button>"        "<div id=\"#{id}\" class=\"#{default_class}\">#{expand}</div>#{map.to_html(options)}".html_safe      end    end  | 
