mirror of
https://github.com/LaQuay/TDTChannels.git
synced 2025-05-24 15:07:37 +02:00
tests in phone done, working
This commit is contained in:
parent
5a59324864
commit
5e1242299e
2 changed files with 2 additions and 5 deletions
script/public
|
@ -196,10 +196,7 @@ function onChannelClick(channel){
|
|||
channel = JSON.parse(channel);
|
||||
reproduceVideo(channel['options'][0]['url'])
|
||||
|
||||
console.log("Container: " + document.getElementById("container").offsetWidth)
|
||||
console.log("Screen: " + $(window).width());
|
||||
|
||||
document.getElementById("testh1").innerText = document.getElementById("container").offsetWidth
|
||||
//document.getElementById("titleh1").innerText = document.getElementById("container").offsetWidth
|
||||
|
||||
if (document.getElementById("container").offsetWidth < 720) {
|
||||
document.getElementById("video").scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue