FS-7509: fix typo

This commit is contained in:
Anthony Minessale 2015-02-25 14:14:54 -06:00 committed by Michael Jerris
parent 086cf1c279
commit e3615e0d28
2 changed files with 7 additions and 5 deletions

View File

@ -255,6 +255,7 @@ function dial(ext)
<input type="radio" name="vqual" id="vqual_vga" value="vga">
<label for="vqual_vga">VGA 640x480</label>
<input type="radio" name="vqual" id="vqual_qvga_wide" value="qvga_wide">
<label for="vqual_qvga_wide">QVGA WIDE 320x180</label>

View File

@ -15,6 +15,7 @@ var local_vid_height = 180;
var outgoingBandwidth;
var incomingBandwidth;
var vqual;
$( ".selector" ).pagecontainer({ "theme": "a" });
@ -689,7 +690,7 @@ function init() {
$.cookie("verto_demo_vid_checked", tmp, {
expires: 365
});
console.error(tmp);
if (tmp !== "true") {
$("#camdiv").hide();
$(".sharediv").hide();
@ -870,11 +871,13 @@ function init() {
});
//
var vqual = $.cookie("verto_demo_vqual") || "qvga";
vqual = $.cookie("verto_demo_vqual") || "qvga";
$.cookie("verto_demo_vqual", vqual, {
expires: 365
});
$("#vqual_qvga").prop("checked", vqual === "qvga").change(function(e) {
if ($("#vqual_qvga").is(':checked')) {
vqual = "qvga";
@ -905,7 +908,7 @@ function init() {
});
$("#vqual_vga").prop("checked", vqual === "vga_wide").change(function(e) {
$("#vqual_vga_wide").prop("checked", vqual === "vga_wide").change(function(e) {
if ($("#vqual_vga_wide").is(':checked')) {
vqual = "vga_wide";
$.cookie("verto_demo_vqual", vqual, {
@ -935,8 +938,6 @@ function init() {
});
tmp = $.cookie("verto_demo_stereo_checked") || "true";
$.cookie("verto_demo_stereo_checked", tmp, {
expires: 365