summaryrefslogtreecommitdiff
path: root/smarttv-client/Javascript/Display.js
diff options
context:
space:
mode:
Diffstat (limited to 'smarttv-client/Javascript/Display.js')
-rwxr-xr-xsmarttv-client/Javascript/Display.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/smarttv-client/Javascript/Display.js b/smarttv-client/Javascript/Display.js
index 71b4c71..483a141 100755
--- a/smarttv-client/Javascript/Display.js
+++ b/smarttv-client/Javascript/Display.js
@@ -47,6 +47,7 @@ Display.init = function()
{
success = false;
}
+
for (var i = 0; i <= this.LASTIDX; i++) {
var elm = document.getElementById("video"+i);
elm.style.paddingLeft = "10px";
@@ -56,6 +57,7 @@ Display.init = function()
var done = false;
var i = 0;
+
while (done != true) {
i ++;
var elm = document.getElementById("selectItem"+i);
@@ -516,8 +518,7 @@ Display.hide = function()
document.getElementById("main").style.display="none";
};
-Display.show = function()
-{
+Display.show = function() {
// cancel ongoing overlays first
this.volOlHandler.cancel();
this.progOlHandler.cancel();