Revert "hackfix streamer nested form"

This reverts commit 0bccd0a2a4.
pull/3973/head
Thibault Duplessis 2018-01-09 22:44:46 -05:00
parent 9e5f435adc
commit 2afff55f61
1 changed files with 0 additions and 9 deletions

View File

@ -3,13 +3,4 @@ $(function() {
$('.picture_wrap').html(lichess.spinnerHtml);
$(this).parents('form').submit();
});
// hackfix nested forms
var $form = $('form.material');
var $status = $form.find('div.status');
if ($status.find('button').length) {
$form.siblings().not('.top').appendTo($('form.material'));
}
$form.before($status.html(
$('<form method="post" action="/streamer/approval/request">').html($status.html())
));
});