mirror of
https://github.com/pi-hole/web.git
synced 2025-12-19 18:28:24 +00:00
settings-api: fix deprecated keyup() function (#3424)
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user