From a06862e858c2bbdc060463ebe075033350af7650 Mon Sep 17 00:00:00 2001 From: Kabir Sala Date: Thu, 20 Feb 2014 21:32:04 +0100 Subject: [PATCH] Fix, I'm an idiot that doesn't understand scope, and can't even copy/paste from someone else --- src/Posting/QR.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 1ddb35940..f28d74b4b 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -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]'