[vlc-commits] test.html: fix teletext toggling

Daniel Amm git at videolan.org
Sun Jun 14 00:58:28 CEST 2015


npapi-vlc | branch: master | Daniel Amm <da2424 at t-online.de> | Sun Jun 14 00:35:51 2015 +0200| [51e70e4b195795469fcac746ce6b68c41026c46a] | committer: Jean-Baptiste Kempf

test.html: fix teletext toggling

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=51e70e4b195795469fcac746ce6b68c41026c46a
---

 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 100644
--- 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;
         }
     }
 }



More information about the vlc-commits mailing list