Browse Source

hide alt text field if no media endpoint exists

pull/82/head
Aaron Parecki 4 years ago
parent
commit
d13425af4f
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      views/new-post.php

+ 3
- 1
views/new-post.php View File

@ -140,7 +140,9 @@
<input type="url" id="note_photo_url" class="form-control" placeholder="Paste image URL">
</div>
<input type="text" id="note_photo_alt" class="form-control" placeholder="Image alt text">
<?php if($this->media_endpoint): ?>
<input type="text" id="note_photo_alt" class="form-control" placeholder="Image alt text">
<?php endif ?>
</div>
<div class="modal-footer">

Loading…
Cancel
Save