N°2844 - Fix image attribute display and editing

This commit is contained in:
Molkobain
2021-02-19 21:27:10 +01:00
parent 1c0177f711
commit f04a5dbfef
8 changed files with 166 additions and 173 deletions

View File

@@ -343,7 +343,7 @@ JS
// Make image attributes zoomable
$this->add_ready_script(
<<<JS
$('.view-image img').each(function(){
$('.ibo-input-image--image-view img').each(function(){
$(this).attr('href', $(this).attr('src'))
})
.magnificPopup({type: 'image', closeOnContentClick: true });