This commit is contained in:
calzoneman 2013-05-10 18:06:58 -04:00
parent dd67179fd4
commit 0f2c17b828

View file

@ -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();