parent
9e5f435adc
commit
2afff55f61
|
@ -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())
|
||||
));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue