diff --git a/script/public/index.html b/script/public/index.html
index 3f9b0d40..c3723a90 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 e1f66c31..f08eea0a 100644
--- a/script/public/index.js
+++ b/script/public/index.js
@@ -196,12 +196,13 @@ function onChannelClick(channel){
channel = JSON.parse(channel);
reproduceVideo(channel['options'][0]['url'])
- console.log(document.getElementById("container").offsetWidth)
+ console.log("Container: " + document.getElementById("container").offsetWidth)
+ console.log("Screen: " + $(window).width());
- document.getElementById("searchInput").placeholder = document.getElementById("container").offsetWidth
+ document.getElementById("testh1").innerText = 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"});
}
}