[fix] typo in isFocusingInput (#1221)

Fixes
https://discord.com/channels/859816885297741824/1103050527731884082/1103052355110457354
This commit is contained in:
David Sheldrick 2023-05-03 16:57:59 +01:00 committed by GitHub
parent 00e3d20dc8
commit f44f6e2c9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,7 +260,7 @@ function isFocusingInput() {
if (
activeElement &&
(activeElement.getAttribute('contenteditble') ||
(activeElement.getAttribute('contenteditable') ||
INPUTS.indexOf(activeElement.tagName.toLowerCase()) > -1)
) {
return true