Apply suggestions from code review
adding justaman's fixes Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
This commit is contained in:
@@ -36,8 +36,6 @@ define(["jQuery", "loading", "libraryMenu", "fnchecked"], function($, loading, l
|
||||
} else {
|
||||
$(".disabledUserBanner", page).hide();
|
||||
}
|
||||
"Guest" == user.ConnectLinkType ? ($("#fldConnectInfo", page).hide(),
|
||||
$("#txtUserName", page).prop("disabled", "disabled")) : ($("#txtUserName", page).prop("disabled", "").removeAttr("disabled"),
|
||||
if ("Guest" == user.ConnectLinkType) {
|
||||
$("#fldConnectInfo", page).hide();
|
||||
$("#txtUserName", page).prop("disabled", "disabled");
|
||||
|
||||
Reference in New Issue
Block a user