upload-selection.js: oekaki interaction
This commit is contained in:
parent
29a36e899e
commit
e37efb422e
@ -10,6 +10,12 @@ $(function(){
|
|||||||
$("#upload_url").hide();
|
$("#upload_url").hide();
|
||||||
$("#upload_embed").hide();
|
$("#upload_embed").hide();
|
||||||
$("#oekaki").hide();
|
$("#oekaki").hide();
|
||||||
|
|
||||||
|
if (enabled_oekaki) {
|
||||||
|
if ($("#confirm_oekaki").is(':checked')) {
|
||||||
|
$("#confirm_oekaki").click();
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
enable_file = function() {
|
enable_file = function() {
|
||||||
@ -34,6 +40,10 @@ $(function(){
|
|||||||
enable_oekaki = function() {
|
enable_oekaki = function() {
|
||||||
disable_all();
|
disable_all();
|
||||||
$("#oekaki").show();
|
$("#oekaki").show();
|
||||||
|
|
||||||
|
if (!$("#confirm_oekaki").is(':checked')) {
|
||||||
|
$("#confirm_oekaki").click();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (enabled_url || enabled_embed || enabled_oekaki) {
|
if (enabled_url || enabled_embed || enabled_oekaki) {
|
||||||
|
Loading…
Reference in New Issue
Block a user