From 5e1242299e51bb1a57c7f42f93148b424eda1dca Mon Sep 17 00:00:00 2001 From: Marc Date: Sun, 3 Feb 2019 20:33:20 +0100 Subject: [PATCH] tests in phone done, working --- script/public/index.html | 2 +- script/public/index.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/script/public/index.html b/script/public/index.html index c3723a90..d20ecd05 100644 --- a/script/public/index.html +++ b/script/public/index.html @@ -18,7 +18,7 @@
-

TDTChannels

+

TDTChannels


Repositorio TDT Channels diff --git a/script/public/index.js b/script/public/index.js index f08eea0a..0fcc1c1d 100644 --- a/script/public/index.js +++ b/script/public/index.js @@ -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"});