mirror of
https://github.com/LaQuay/TDTChannels.git
synced 2024-11-22 17:03:24 +01:00
temporary commit to test in phone
This commit is contained in:
parent
4610e2c0a2
commit
b164e87b6a
1 changed files with 5 additions and 1 deletions
|
@ -196,8 +196,12 @@ function onChannelClick(channel){
|
|||
channel = JSON.parse(channel);
|
||||
reproduceVideo(channel['options'][0]['url'])
|
||||
|
||||
console.log(document.getElementById("container").offsetWidth)
|
||||
|
||||
document.getElementById("searchInput").placeholder = document.getElementById("container").offsetWidth
|
||||
|
||||
if (document.getElementById("container").offsetWidth < 720) {
|
||||
document.getElementById("video").scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"});
|
||||
//document.getElementById("video").scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue