From 49d32b3d417d39620f5c10cd53cbfeaa4eaa9c01 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 3 Sep 2011 22:34:32 -0700 Subject: [PATCH] merge QR.accept into QR.file --- 4chan_x.user.js | 3 +-- script.coffee | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 18001e12e..f2f69ce0e 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1251,10 +1251,9 @@ return 'image/' + type; } }); - QR.accept = "'" + accept + "'"; + QR.file = ""; QR.MAX_FILE_SIZE = $('input[name=MAX_FILE_SIZE]').value; QR.spoiler = $('.postarea label') ? ' ' : ''; - QR.file = ""; if (conf['Persistent QR']) { QR.dialog(); if (conf['Auto Hide QR']) { diff --git a/script.coffee b/script.coffee index 0555a0125..0da5193e2 100644 --- a/script.coffee +++ b/script.coffee @@ -984,10 +984,9 @@ QR = 'application/' + type else 'image/' + type - QR.accept = "'#{accept}'" + QR.file = "" QR.MAX_FILE_SIZE = $('input[name=MAX_FILE_SIZE]').value QR.spoiler = if $('.postarea label') then ' ' else '' - QR.file = "" if conf['Persistent QR'] QR.dialog() if conf['Auto Hide QR']