]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7509: move code to better place
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 5 Mar 2015 18:22:05 +0000 (12:22 -0600)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:09 +0000 (12:47 -0500)
html5/verto/video_demo/verto.js

index b08651c6177a110f4d361a1b8b7d949f037c124b..c4b488f623f6319307ff4e6df97e2f540dd4a6bd 100644 (file)
@@ -526,9 +526,10 @@ function on_full(which)
     is_full = which;
     if (is_full) {
        $("#rows").css("position", "absolute").css("z-index", "2");    
+       $("#fullbtn").text("Exit Full Screen");
     } else {
        $("#rows").css("position", "static").css("z-index", "2");
-
+       $("#fullbtn").text("Enter Full Screen");
        clearTimeout(usrto);    
     }
 
@@ -549,9 +550,7 @@ $("#fullbtn").click(function() {
 
     if (!is_full) {
        full_screen("fs");
-       $("#fullbtn").text("Exit Full Screen");
     } else {
-       $("#fullbtn").text("Enter Full Screen");
        if (document.webkitFullscreenEnabled) {
            document.webkitExitFullscreen();
        } else if (document.mozFullScreenEnabled) {