Fixing that really annoying bug

This commit is contained in:
Michał Gdula 2022-09-19 21:57:11 +00:00
parent 48f2e1b365
commit a2e4507b46
2 changed files with 3 additions and 3 deletions

View file

@ -332,7 +332,7 @@
</form>";
flyoutShow(header, description, actionBox);
$('#descriptionInput').val("<?php echo str_replace('"', '\"', $image_alt); ?>");
$('#descriptionInput').val("<?php if ($image_alt != "No description avalible") echo str_replace('"', '\"', $image_alt); ?>");
$("#descriptionConfirm").submit(function(event) {
event.preventDefault();