Fix: Show Audio file && Show shortcode
This commit is contained in:
parent
0d18486fc7
commit
2e372d5239
@ -97,7 +97,7 @@
|
||||
layer.on('click', self.onMarkerClick);
|
||||
}
|
||||
}).addTo(this.map);
|
||||
this.map.fitBounds(this.markers.getBounds());
|
||||
if (this.markers.getBounds()) this.map.fitBounds(this.markers.getBounds());
|
||||
|
||||
},
|
||||
ajaxFail: function(){
|
||||
|
@ -126,7 +126,7 @@ if (!class_exists('Soundmap')){
|
||||
<!-- <div class='att-icon'><img src='{$data['icon']}'/></div> -->
|
||||
<div class='att-info'><a href='{$data['url']}'><strong>{$data['title']}</strong></a><br/>
|
||||
<audio controls>
|
||||
<source src='{$data['url']} type='{$data['mime']}'>
|
||||
<source src='{$data['url']}' type='{$data['mime']}'>
|
||||
</audio><br/>
|
||||
<a href='#' class='delete-att-item'>Borrar</a></div><div class='clear'></div><input type='hidden' name='soundmap-att-ids[]' value='{$file}' /></div>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user