Add fluid layout option
This commit is contained in:
parent
b00e63b622
commit
c7e63391f6
3 changed files with 31 additions and 2 deletions
|
|
@ -849,6 +849,8 @@ function showUserOpts() {
|
|||
.appendTo(layoutselect);
|
||||
$("<option/>").attr("value", "synchtube").text("Synchtube")
|
||||
.appendTo(layoutselect);
|
||||
$("<option/>").attr("value", "fluid").text("Fluid")
|
||||
.appendTo(layoutselect);
|
||||
layoutselect.val(USEROPTS.layout);
|
||||
addOption("Layout", layoutselect);
|
||||
var warn = $("<p/>").addClass("text-error")
|
||||
|
|
@ -926,12 +928,12 @@ function showUserOpts() {
|
|||
USEROPTS.modhat = modhat.prop("checked");
|
||||
}
|
||||
saveOpts();
|
||||
applyOpts();
|
||||
modal.modal("hide");
|
||||
});
|
||||
|
||||
modal.on("hidden", function() {
|
||||
vid.appendTo($("#videodiv"));
|
||||
applyOpts();
|
||||
modal.remove();
|
||||
});
|
||||
modal.modal();
|
||||
|
|
@ -975,6 +977,9 @@ function applyOpts() {
|
|||
case "synchtube":
|
||||
synchtubeLayout();
|
||||
break;
|
||||
case "fluid":
|
||||
fluidLayout();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue