diff --git a/app/views/poll/_poll_form.html.erb b/app/views/poll/_poll_form.html.erb
index de5e2e713..49e04a3ba 100644
--- a/app/views/poll/_poll_form.html.erb
+++ b/app/views/poll/_poll_form.html.erb
@@ -58,13 +58,14 @@
function poll_submit()
{
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'poll_submit', locals: { poll: @poll}) %>');
- showModal('ajax-modal', '500px');
- $('#ajax-modal').css('height','180px');
+ showModal('ajax-modal', '310px');
+ $('#ajax-modal').css('height','100px');
$('#ajax-modal').siblings().remove();
$('#ajax-modal').before("" +
"");
+ $('#ajax-modal').parent().removeClass("alert_praise");
$('#ajax-modal').parent().css("top","").css("left","");
- $('#ajax-modal').parent().addClass("anonymos");
+ $('#ajax-modal').parent().addClass("popbox_polls");
}
diff --git a/app/views/poll/_poll_submit.html.erb b/app/views/poll/_poll_submit.html.erb
index 0f9e96b73..cdc41dd9d 100644
--- a/app/views/poll/_poll_submit.html.erb
+++ b/app/views/poll/_poll_submit.html.erb
@@ -1,28 +1,6 @@