mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-02-15 00:47:38 +00:00
Disable Window options on iPhone
This commit is contained in:
parent
6a1b545887
commit
6dab86d976
@ -722,7 +722,7 @@
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="form-group" id="window-form">
|
||||
<label class="form-group-label">Window</label>
|
||||
<div class="radio-group option-list">
|
||||
<div class="option-item">
|
||||
@ -1248,6 +1248,7 @@
|
||||
history.replaceState({ page: 'main' }, '', window.location.pathname);
|
||||
}
|
||||
|
||||
if (document.documentElement.requestFullscreen) {
|
||||
const fullscreenElement = document.getElementById('window-fullscreen');
|
||||
const windowedElement = document.getElementById('window-windowed');
|
||||
|
||||
@ -1273,6 +1274,10 @@
|
||||
windowedElement.checked = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
else {
|
||||
document.getElementById('window-form').style.display = 'none';
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user