mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
npm lint.
This commit is contained in:
@ -10,13 +10,13 @@ export function makeid(length: number) {
|
||||
|
||||
export function lockKeyboard() {
|
||||
if (navigator && navigator.keyboard) {
|
||||
navigator.keyboard.lock();
|
||||
navigator.keyboard.lock()
|
||||
}
|
||||
}
|
||||
|
||||
export function unlockKeyboard() {
|
||||
if (navigator && navigator.keyboard) {
|
||||
navigator.keyboard.unlock();
|
||||
navigator.keyboard.unlock()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user