mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2024-11-21 12:33:38 +00:00
fix(easter_egg): make it easier to activate
This commit is contained in:
parent
29897c4900
commit
343fc0a1ea
1 changed files with 2 additions and 2 deletions
|
@ -14,10 +14,10 @@ return {
|
|||
export function listenForEasterEgg() {
|
||||
const oneko2 = startEasterEgg()
|
||||
window.addEventListener('keydown', (k) => {
|
||||
if((k.ctrlKey || k.metaKey) && k.shiftKey && k.altKey) oneko2.toggle()
|
||||
if(k.shiftKey && k.altKey) oneko2.toggle()
|
||||
})
|
||||
window.addEventListener('keyup', (k) => {
|
||||
if((k.ctrlKey || k.metaKey) && k.shiftKey && k.altKey) oneko2.toggle()
|
||||
if (k.shiftKey && k.altKey) oneko2.toggle()
|
||||
})
|
||||
}
|
||||
// expose to window
|
||||
|
|
Loading…
Reference in a new issue