WebM with audio is now allowed on /wsr/ and /r/. #1319

This commit is contained in:
ccd0 2017-03-13 15:17:18 -07:00
parent 5a49d1cd09
commit 0f673ea9c1
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ Volume =
name: 'Mouse Wheel Volume'
cb: @node
return unless g.BOARD.ID in ['gif', 'wsg']
return unless g.BOARD.ID in ['gif', 'wsg', 'r', 'wsr']
if Conf['Mouse Wheel Volume']
Callbacks.CatalogThread.push

View File

@ -260,7 +260,7 @@ QR.post = class
@fileError 'Video lacks duration metadata (try remuxing)'
else if duration > QR.max_duration_video
@fileError "Video too long (video: #{duration}s, max: #{QR.max_duration_video}s)"
if g.BOARD.ID not in ['gif', 'wsg'] and $.hasAudio el
if g.BOARD.ID not in ['gif', 'wsg', 'r', 'wsr'] and $.hasAudio el
@fileError 'Audio not allowed'
setThumbnail: (el) ->