We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f51ee commit d02f00dCopy full SHA for d02f00d
1 file changed
app/components/Package/WeeklyDownloadStats.vue
@@ -236,9 +236,9 @@ function pushEasterEggKey(key: CheatKey) {
236
resetTimeout = setTimeout(resetEasterEgg, easterEggResetDelay)
237
238
const nextIndex = easterEgg.value.length
239
-
+ const expectedKey = cheatCode[nextIndex]
240
// Reset if the position is wrong
241
- if (cheatCode[nextIndex] !== key) {
+ if (!expectedKey || expectedKey !== key) {
242
resetEasterEgg()
243
return
244
}
0 commit comments