Skip to content

Commit

Permalink
Fixes datepicker icon
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Aug 16, 2024
1 parent f6ac44e commit e0d9b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/templates/dcbe_general_field.html5
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ assert($translator instanceof \Symfony\Contracts\Translation\TranslatorInterface
<?php else: ?>
<?= $this->widget ?>
<?php if($this->strDatepicker): ?>
<img src="assets/datepicker/images/icon.svg" width="20" height="20" id="toggle_<?= $this->strId ?>" style="vertical-align:-6px;">
<img src="/assets/datepicker/images/icon.svg" width="20" height="20" id="toggle_<?= $this->strId ?>" style="vertical-align:-6px;">
<script>
window.addEvent('domready', function() { <?= $this->strDatepicker; ?> });
</script>
Expand Down

0 comments on commit e0d9b60

Please sign in to comment.