settings-api: fix deprecated keyup() function

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2025-05-01 19:59:09 +03:00
committed by GitHub
parent e851470e70
commit 612a110109

View File

@@ -408,8 +408,8 @@ $("#password_code").on("mouseout blur", function () {
});
// Trigger keyup event when pasting into the TOTP code input field
$("#totp_code").on("paste", e => {
$(e.target).keyup();
$("#totp_code").on("paste", event => {
$(event.target).trigger("keyup");
});
$("#totp_code").on("keyup", function () {