client/posts: fix adding loop flag to non videos

This commit is contained in:
rr-
2016-11-27 21:52:40 +01:00
parent 9ae2b6aa44
commit 6bf5764c6c
2 changed files with 10 additions and 2 deletions

View File

@ -60,7 +60,7 @@
<%= ctx.makeCheckbox({
text: 'Loop video',
name: 'loop-video',
checked: true,
checked: ctx.uploadable.flags.includes('loop'),
}) %>
</div>
<% } %>