Optimized css for mobile devices

This commit is contained in:
H4CK3R-01
2021-07-14 11:34:36 +02:00
committed by H4CK3R-01
parent 16683d049e
commit e2b6e88a3b
11 changed files with 160 additions and 4526 deletions

View File

@@ -2,8 +2,11 @@ let username;
let room_name;
window.addEventListener('beforeunload', function (e) {
// Prevent user from exiting page
e.preventDefault();
e.preventDefault(); // Prevent user from exiting page
});
window.addEventListener('keydown', function (event) {
if (event.code === 'Enter' && app == null) document.getElementById('ok').click();
});
document.getElementById('ok').addEventListener('click', function () {