Fix misaligned checkbox in new poll menu

This commit is contained in:
calzoneman 2014-11-16 11:15:08 -06:00
parent af4f0fd211
commit 2f9b5ffe6a

View file

@ -768,11 +768,11 @@ function showPollMenu() {
.attr("type", "text") .attr("type", "text")
.appendTo(menu); .appendTo(menu);
var lbl = $("<label/>").addClass("checkbox") var checkboxOuter = $("<div/>").addClass("checkbox").appendTo(menu);
.text("Hide poll results") var lbl = $("<label/>").text("Hide poll results")
.appendTo(menu); .appendTo(checkboxOuter);
var hidden = $("<input/>").attr("type", "checkbox") var hidden = $("<input/>").attr("type", "checkbox")
.appendTo(lbl); .prependTo(lbl);
$("<strong/>").text("Options").appendTo(menu); $("<strong/>").text("Options").appendTo(menu);