mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
whoopsies
This commit is contained in:
parent
9ebd0a4558
commit
0a26c2cea5
1 changed files with 0 additions and 1 deletions
|
@ -130,7 +130,6 @@ export default {
|
||||||
const konamiCode = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a']
|
const konamiCode = ['ArrowUp', 'ArrowUp', 'ArrowDown', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'ArrowLeft', 'ArrowRight', 'b', 'a']
|
||||||
let step = 0
|
let step = 0
|
||||||
document.addEventListener('keydown', ({ key }) => {
|
document.addEventListener('keydown', ({ key }) => {
|
||||||
console.log(key, step)
|
|
||||||
if (key === konamiCode[step++]) {
|
if (key === konamiCode[step++]) {
|
||||||
if (step === konamiCode.length) {
|
if (step === konamiCode.length) {
|
||||||
this.$store.commit('SET_SPINNER', 'nyancat')
|
this.$store.commit('SET_SPINNER', 'nyancat')
|
||||||
|
|
Loading…
Reference in a new issue