Fixed post note link being shown for videos and YT

This commit is contained in:
rr- 2016-01-13 21:25:12 +01:00
parent 1ce16c80ec
commit 21ddb8a90b

View file

@ -225,7 +225,7 @@ if (forceHttpInPermalinks > 0) {
</li>
<% } %>
<% if (privileges.canAddPostNotes) { %>
<% if (privileges.canAddPostNotes && (post.contentType === 'image' || post.contentType === 'animation')) { %>
<li>
<a class="add-note" href="#">
Add new note