Fix #105
This commit is contained in:
parent
dd67179fd4
commit
0f2c17b828
|
@ -611,6 +611,7 @@ function onWindowFocus() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function newPollMenu() {
|
function newPollMenu() {
|
||||||
|
$("#ytapiplayer").hide();
|
||||||
var modal = $("<div/>").addClass("modal hide fade")
|
var modal = $("<div/>").addClass("modal hide fade")
|
||||||
.appendTo($("body"));
|
.appendTo($("body"));
|
||||||
var head = $("<div/>").addClass("modal-header")
|
var head = $("<div/>").addClass("modal-header")
|
||||||
|
@ -669,6 +670,7 @@ function newPollMenu() {
|
||||||
.appendTo(footer)
|
.appendTo(footer)
|
||||||
.click(submit);
|
.click(submit);
|
||||||
modal.on("hidden", function() {
|
modal.on("hidden", function() {
|
||||||
|
$("#ytapiplayer").show();
|
||||||
modal.remove();
|
modal.remove();
|
||||||
});
|
});
|
||||||
modal.modal();
|
modal.modal();
|
||||||
|
|
Loading…
Reference in a new issue