🚘🐢 Checkpoint
./public/script.js:1954897/4998 ./views/index.html:1954897/9678
This commit is contained in:
1 parent
b5eeef9269
commit
fa1b1fed56
2 files changed
+4
-1
No files matched your search
@@ -60,6 +60,9 @@
|
|||||||
screen.orientation.lock('landscape')
|
screen.orientation.lock('landscape')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
document.addEventListener('exit-fs', e => {
|
||||||
|
document.exitFullscreen()
|
||||||
|
});
|
||||||
document.addEventListener('view-word', e => {
|
document.addEventListener('view-word', e => {
|
||||||
// Display the word in the h1
|
// Display the word in the h1
|
||||||
const game = document.getElementById('game')
|
const game = document.getElementById('game')
|
||||||
|
|||||||
+1
-1
@@ -92,7 +92,7 @@
|
|||||||
<div class="alt">Mi palabra prohibida es...</div>
|
<div class="alt">Mi palabra prohibida es...</div>
|
||||||
<h1 class="center" style="font-size: 4rem;"></h1>
|
<h1 class="center" style="font-size: 4rem;"></h1>
|
||||||
<div class="alt center word-type"></div>
|
<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;">
|
style="position: fixed; right: 1rem; bottom: 1rem;">
|
||||||
¡Se acabó!
|
¡Se acabó!
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in new issue
Block a user