Skip to content

Commit 8d8bd4f

Browse files
committed
attr -> prop
1 parent 8ee4b97 commit 8d8bd4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webroot/panel/account.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,14 @@ function enableOrDisableCustomLoginBoxHighlight() {
301301
function enableOrDisableSubmitLoginShell() {
302302
var newLoginShell = getNewLoginShell();
303303
if (!isLoginShellValid(newLoginShell)) {
304-
$("#submitLoginShell").attr("disabled", true);
304+
$("#submitLoginShell").prop("disabled", true);
305305
return;
306306
}
307307
if (newLoginShell == ldapLoginShell) {
308-
$("#submitLoginShell").attr("disabled", true);
308+
$("#submitLoginShell").prop("disabled", true);
309309
return;
310310
}
311-
$("#submitLoginShell").attr("disabled", false);
311+
$("#submitLoginShell").prop("disabled", false);
312312
}
313313
$("#customLoginBox").on("input", enableOrDisableSubmitLoginShell);
314314
$("#loginSelector").change(enableOrDisableSubmitLoginShell);

0 commit comments

Comments
 (0)