mirror of
https://github.com/minetest/contentdb.git
synced 2025-03-14 14:22:30 +01:00
Fix bulk change form
This commit is contained in:
@ -46,10 +46,10 @@
|
||||
var toggle = $("#set_" + type);
|
||||
function on_change() {
|
||||
if (toggle.is(":checked")) {
|
||||
$("#" + type + "_rel").removeAttr("disabled");
|
||||
// $("#" + type + "_rel").removeAttr("disabled");
|
||||
$("#" + type + "_rel").parent().css("opacity", "1");
|
||||
} else {
|
||||
$("#" + type + "_rel").attr("disabled", "disabled");
|
||||
// $("#" + type + "_rel").attr("disabled", "disabled");
|
||||
$("#" + type + "_rel").parent().css("opacity", "0.4");
|
||||
$("#" + type + "_rel").val($("#" + type + "_rel option:first-child").attr("value"));
|
||||
$("#" + type + "_rel").change();
|
||||
|
Reference in New Issue
Block a user