Skip to content

Commit abb481d

Browse files
authored
Fix autofocus of login (#676)
1 parent 6020403 commit abb481d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

server/src/main/resources/static/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ <h5 class="modal-title" id="popupLabel"></h5>
144144
}
145145
});
146146

147+
$('#loginPopup').on('shown.bs.modal', function () {
148+
$('#inputUserName').delay(1000).focus().select();
149+
});
150+
147151
if( globalCredentials == null )
148152
showLoginPopup();
149153
});

0 commit comments

Comments
 (0)