From 49612478dca75705b34de5788fa9daff481ccbc4 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Wed, 23 Jan 2013 01:00:15 +0100 Subject: 2nd try to fix mediamenu --- index.html | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 568f552..ef65bb4 100644 --- a/index.html +++ b/index.html @@ -1943,8 +1943,9 @@ if (DelisOK) { switchtimer.style.opacity = 0; DelisOK = 0; break; - } -} + } // end of switch +} // end of if + if (mediaList.style.opacity != 0) { switch(keyCode) { case "BrowserBack": @@ -2056,10 +2057,8 @@ if (mediaList.style.opacity != 0) { default: break; - } -} - -if (mediaList.style.opacity == 0) { + } // end of switch +} else { switch(keyCode) { case "BrowserBack": ShowInfo(); @@ -2245,9 +2244,8 @@ if (mediaList.style.opacity == 0) { default: break; - - } - } + } // end of switch + } // end of if } function getRecList() { -- cgit v1.2.3