forked from rDrama/rDrama
same as last commit
parent
088989e64a
commit
16cade3f1f
|
@ -15,7 +15,7 @@ function add_playing_listener() {
|
||||||
const created_utc = orgy_file.dataset.created_utc
|
const created_utc = orgy_file.dataset.created_utc
|
||||||
orgy_file.currentTime = now - created_utc
|
orgy_file.currentTime = now - created_utc
|
||||||
if (screen_width < 768) {
|
if (screen_width < 768) {
|
||||||
const chat_window_height = innerHeight - orgy_file.offsetHeight - 220
|
const chat_window_height = innerHeight - orgy_file.offsetHeight - 230
|
||||||
document.getElementById('chat-window').setAttribute('style', `max-height: ${chat_window_height}px !important`)
|
document.getElementById('chat-window').setAttribute('style', `max-height: ${chat_window_height}px !important`)
|
||||||
}
|
}
|
||||||
setTimeout(add_waiting_listener, 5000);
|
setTimeout(add_waiting_listener, 5000);
|
||||||
|
|
Loading…
Reference in New Issue