Browse Source

hide alt text field if no media endpoint exists

pull/82/head
Aaron Parecki 8 years ago
parent
commit
d13425af4f
No known key found for this signature in database GPG Key ID: 276C2817346D6056
  1. 2
      views/new-post.php

2
views/new-post.php

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

Loading…
Cancel
Save