mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-28 14:23:11 +00:00
Fixing that really annoying bug
This commit is contained in:
parent
48f2e1b365
commit
a2e4507b46
2 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue