[vlc-devel] [PATCH 15/17] test.html: fix teletext toggling

Daniel Amm da2424 at t-online.de
Sun Jun 14 00:35:51 CEST 2015


---
 share/test/test.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/share/test/test.html b/share/test/test.html
index a16efb7..82b8ee1 100755
--- a/share/test/test.html
+++ b/share/test/test.html
@@ -569,13 +569,13 @@ function doToggleTeletext()
         vlc.video.toggleTeletext();
         if( telxState )
         {
-            document.getElementById("telx").innerHTML = "Teletext on";
-            telxState = true;
+            document.getElementById("telx").value = "Teletext off";
+            telxState = false;
         }
         else
         {
-            document.getElementById("telx").innerHTML = "Teletext off";
-            telxState = false;
+            document.getElementById("telx").value = "Teletext on";
+            telxState = true;
         }
     }
 }
-- 
2.1.4




More information about the vlc-devel mailing list