Skip to content

Commit

Permalink
fix: reset button loading html
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Oct 21, 2020
1 parent d68ffea commit 1a4c0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/client/reset_code.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ define('forum/reset_code', ['zxcvbn'], function (zxcvbn) {
$('#notice').removeClass('hidden');
$('#notice strong').translateText('[[user:weak_password]]');
} else {
resetEl.prop('disabled', true).translateText('<i class="fa fa-spin fa-refresh"></i> [[reset_password:changing_password]]');
resetEl.prop('disabled', true).translateHtml('<i class="fa fa-spin fa-refresh"></i> [[reset_password:changing_password]]');
socket.emit('user.reset.commit', {
code: reset_code,
password: password.val(),
Expand Down

0 comments on commit 1a4c0de

Please sign in to comment.