fix hiding cloneBtn

This commit is contained in:
Isaac Connor 2021-02-02 09:20:04 -05:00
parent d762ebde61
commit 2996fe3da7
1 changed files with 5 additions and 5 deletions

View File

@ -22,10 +22,10 @@ function setButtonStates( element ) {
if ( checked == 1 ) { if ( checked == 1 ) {
$j(form.cloneBtn).css('display', 'inline'); $j(form.cloneBtn).css('display', 'inline');
} else { } else {
form.cloneBtn.hide(); $j(form.cloneBtn).hide();
} }
} else { } else {
form.cloneBtn.hide(); $j(form.cloneBtn).hide();
form.editBtn.disabled = true; form.editBtn.disabled = true;
form.deleteBtn.disabled = true; form.deleteBtn.disabled = true;
form.selectBtn.disabled = true; form.selectBtn.disabled = true;