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']