Minor text fixes (profile page "error, reload?" buttons were not properly escaped)

This commit is contained in:
Skylar Ittner 2016-09-17 13:20:36 -06:00
parent f5e93c8e19
commit 86190ccd2d
6 changed files with 497 additions and 497 deletions

View File

@ -57,7 +57,7 @@
$('#player-level').text('Cannot load player stats.');
}
}).fail(function () {
$('#player-level').text('Loading failed. <a onclick="loadProfile(\'' + user + '\')">Reload</a>"');
$('#player-level').html('Loading failed. <a onclick="loadProfile(\'' + user + '\')">Reload</a>');
});
}
@ -77,7 +77,7 @@
});
$('#loading-badges').css('display', 'none');
} else {
$('#loading-badges').html('Loading failed. <a onclick="loadAchievements(\'' + user + '\')">Reload</a>"');
$('#loading-badges').html('Loading failed. <a onclick="loadAchievements(\'' + user + '\')">Reload</a>');
}
}
).fail(