lila/public/javascripts/streamer.form.js
Thibault Duplessis 2afff55f61 Revert "hackfix streamer nested form"
This reverts commit 0bccd0a2a4.
2018-01-09 22:44:46 -05:00

7 lines
187 B
JavaScript

$(function() {
$('.streamer_picture form.upload input[type=file]').change(function() {
$('.picture_wrap').html(lichess.spinnerHtml);
$(this).parents('form').submit();
});
});