Lint and clean-up

This commit is contained in:
Cohee
2024-04-15 00:39:15 +03:00
parent 0263be8c1f
commit 022c180b62
14 changed files with 22 additions and 31 deletions

View File

@ -129,8 +129,8 @@ function addKeyboardProps(element) {
* selected token highlighted. If no token is selected, the subview is hidden.
*/
function renderTopLogprobs() {
$('#logprobs_top_logprobs_hint').hide();
const view = $('.logprobs_candidate_list');
const hint = $('#logprobs_top_logprobs_hint').hide();
view.empty();
if (!state.selectedTokenLogprobs) {