mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
upload-selection.js: oekaki interaction
This commit is contained in:
parent
29a36e899e
commit
e37efb422e
@ -10,6 +10,12 @@ $(function(){
|
||||
$("#upload_url").hide();
|
||||
$("#upload_embed").hide();
|
||||
$("#oekaki").hide();
|
||||
|
||||
if (enabled_oekaki) {
|
||||
if ($("#confirm_oekaki").is(':checked')) {
|
||||
$("#confirm_oekaki").click();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
enable_file = function() {
|
||||
@ -34,6 +40,10 @@ $(function(){
|
||||
enable_oekaki = function() {
|
||||
disable_all();
|
||||
$("#oekaki").show();
|
||||
|
||||
if (!$("#confirm_oekaki").is(':checked')) {
|
||||
$("#confirm_oekaki").click();
|
||||
}
|
||||
};
|
||||
|
||||
if (enabled_url || enabled_embed || enabled_oekaki) {
|
||||
|
Loading…
Reference in New Issue
Block a user