mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +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
|
// Trigger keyup event when pasting into the TOTP code input field
|
||||||
$("#totp_code").on("paste", e => {
|
$("#totp_code").on("paste", event => {
|
||||||
$(e.target).keyup();
|
$(event.target).trigger("keyup");
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#totp_code").on("keyup", function () {
|
$("#totp_code").on("keyup", function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user