Réparer les scripts intégrés aux vues
This commit is contained in:
parent
63224d8b06
commit
64ce1285aa
12 changed files with 112 additions and 97 deletions
|
|
@ -846,11 +846,11 @@ $mosaicQs['view'] = 'mosaic';
|
|||
</div>
|
||||
|
||||
<script>
|
||||
const animalListTranslations = < ? = json_encode(['medicalPreview' => t('animals.medical_preview'),
|
||||
const animalListTranslations = <?= json_encode(['medicalPreview' => t('animals.medical_preview'),
|
||||
'neverProvided' => t('animals.never_provided'), 'lastUpdate' => t('animals.last_update', ['date' =>
|
||||
'__DATE__'
|
||||
])
|
||||
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) ? > ;
|
||||
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) ?> ;
|
||||
(() => {
|
||||
const zoom = document.getElementById('animalPhotoZoom');
|
||||
const image = zoom?.querySelector('img');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue