Change ids on OR prompt cost
This commit is contained in:
parent
7ec9996c1f
commit
e6fe82760f
|
@ -266,9 +266,9 @@
|
|||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div data-tg-type="openrouter">
|
||||
Max prompt cost: <span id="openrouter_max_prompt_cost_tg">Unknown</span>
|
||||
</div>
|
||||
<small data-tg-type="openrouter">
|
||||
Max prompt cost: <span id="or_prompt_cost">–</span>
|
||||
</small>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
|
|
|
@ -384,7 +384,7 @@ function calculateOpenRouterCost() {
|
|||
}
|
||||
}
|
||||
|
||||
$('#openrouter_max_prompt_cost_tg').text(cost);
|
||||
$('#or_prompt_cost').text(cost);
|
||||
|
||||
// Schedule an update when settings change
|
||||
eventSource.removeListener(event_types.SETTINGS_UPDATED, calculateOpenRouterCost);
|
||||
|
|
Loading…
Reference in New Issue