fix insights refresh spinner

pull/9538/head
Thibault Duplessis 2021-08-06 10:59:19 +02:00
parent bd677b5a56
commit 974ec1d99b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ lichess.refreshInsightForm = () => {
method: 'post',
credentials: 'same-origin',
}).then(lichess.reload);
$(this).replaceWith($(this).find('.crunching').show());
$(this).replaceWith($(this).find('.crunching').removeClass('none'));
return false;
});
};