mirror of
https://github.com/RetroDECK/RetroDECK-Website.git
synced 2025-04-10 19:15:13 +00:00
Konami code no longer opens new tab
This commit is contained in:
parent
efb44472b2
commit
7ad5bca525
|
@ -22,7 +22,7 @@ window.addEventListener('keyup', function(e) {
|
|||
if (konamiCodePosition === konamiCode.length) {
|
||||
console.log('Konami Code Activated!');
|
||||
konamiCodePosition = 0;
|
||||
window.open('emulator.html')
|
||||
window.location.replace('emulator.html');
|
||||
}
|
||||
} else {
|
||||
konamiCodePosition = 0;
|
||||
|
|
Loading…
Reference in a new issue