merge QR.accept into QR.file
This commit is contained in:
parent
1fbc04b34b
commit
49d32b3d41
@ -1251,10 +1251,9 @@
|
||||
return 'image/' + type;
|
||||
}
|
||||
});
|
||||
QR.accept = "'" + accept + "'";
|
||||
QR.file = "<input type=file name=upfile accept='" + accept + "'>";
|
||||
QR.MAX_FILE_SIZE = $('input[name=MAX_FILE_SIZE]').value;
|
||||
QR.spoiler = $('.postarea label') ? ' <label>[<input type=checkbox name=spoiler>Spoiler Image?]</label>' : '';
|
||||
QR.file = "<input type=file name=upfile accept=" + QR.accept + ">";
|
||||
if (conf['Persistent QR']) {
|
||||
QR.dialog();
|
||||
if (conf['Auto Hide QR']) {
|
||||
|
||||
@ -984,10 +984,9 @@ QR =
|
||||
'application/' + type
|
||||
else
|
||||
'image/' + type
|
||||
QR.accept = "'#{accept}'"
|
||||
QR.file = "<input type=file name=upfile accept='#{accept}'>"
|
||||
QR.MAX_FILE_SIZE = $('input[name=MAX_FILE_SIZE]').value
|
||||
QR.spoiler = if $('.postarea label') then ' <label>[<input type=checkbox name=spoiler>Spoiler Image?]</label>' else ''
|
||||
QR.file = "<input type=file name=upfile accept=#{QR.accept}>"
|
||||
if conf['Persistent QR']
|
||||
QR.dialog()
|
||||
if conf['Auto Hide QR']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user