diff --git a/client/js/controls/post_edit_sidebar_control.js b/client/js/controls/post_edit_sidebar_control.js index c24bdf5e..2dc36299 100644 --- a/client/js/controls/post_edit_sidebar_control.js +++ b/client/js/controls/post_edit_sidebar_control.js @@ -28,7 +28,8 @@ class PostEditSidebarControl extends events.EventTarget { canEditPostTags: api.hasPrivilege('posts:edit:tags'), canEditPostRelations: api.hasPrivilege('posts:edit:relations'), canEditPostNotes: api.hasPrivilege('posts:edit:notes') && - post.type !== 'video', + post.type !== 'video' && + post.type !== 'flash', canEditPostFlags: api.hasPrivilege('posts:edit:flags'), canEditPostContent: api.hasPrivilege('posts:edit:content'), canEditPostThumbnail: api.hasPrivilege('posts:edit:thumbnail'), diff --git a/client/js/views/post_view.js b/client/js/views/post_view.js index 0b260614..87d19acc 100644 --- a/client/js/views/post_view.js +++ b/client/js/views/post_view.js @@ -51,7 +51,7 @@ class PostView { postContainerNode.querySelector('.post-overlay'), ctx.post); - if (ctx.post.type === 'video') { + if (ctx.post.type === 'video' || ctx.post.type === 'flash') { this._postContentControl.disableOverlay(); }