Fix, I'm an idiot that doesn't understand scope, and can't even copy/paste from someone else

This commit is contained in:
Kabir Sala 2014-02-20 21:32:04 +01:00
parent 6d1ec737d7
commit a06862e858

View File

@ -1,4 +1,5 @@
QR =
mimeTypes: ['image/jpeg', 'image/png', 'image/gif', 'application/pdf', 'application/x-shockwave-flash', '']
init: ->
return if !Conf['Quick Reply']
@ -431,7 +432,6 @@ QR =
}
# Allow only this board's supported files.
mimeTypes: ['image/jpeg', 'image/png', 'image/gif', 'application/pdf', 'application/x-shockwave-flash', '']
nodes.fileInput.max = $('input[name=MAX_FILE_SIZE]').value
QR.spoiler = !!$ 'input[name=spoiler]'