🚘🐢 Checkpoint
./public/script.js:1954897/4998 ./views/index.html:1954897/9678
This commit is contained in:
@@ -60,6 +60,9 @@
|
||||
screen.orientation.lock('landscape')
|
||||
})
|
||||
})
|
||||
document.addEventListener('exit-fs', e => {
|
||||
document.exitFullscreen()
|
||||
});
|
||||
document.addEventListener('view-word', e => {
|
||||
// Display the word in the h1
|
||||
const game = document.getElementById('game')
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@
|
||||
<div class="alt">Mi palabra prohibida es...</div>
|
||||
<h1 class="center" style="font-size: 4rem;"></h1>
|
||||
<div class="alt center word-type"></div>
|
||||
<button class="btn" data-open="main"
|
||||
<button class="btn" data-open="main" data-fire="exit-fs"
|
||||
style="position: fixed; right: 1rem; bottom: 1rem;">
|
||||
¡Se acabó!
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user