mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Scroll Test
This commit is contained in:
@@ -992,9 +992,11 @@ function update_token_lengths() {
|
||||
}
|
||||
max_chunk = -1;
|
||||
for (item of document.getElementById("Selected Text").childNodes) {
|
||||
chunk_num = parseInt(item.id.replace("Selected Text Chunk ", ""));
|
||||
if (chunk_num > max_chunk) {
|
||||
max_chunk = chunk_num;
|
||||
if (item.id != "story_prompt") {
|
||||
chunk_num = parseInt(item.id.replace("Selected Text Chunk ", ""));
|
||||
if (chunk_num > max_chunk) {
|
||||
max_chunk = chunk_num;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -49,7 +49,7 @@
|
||||
<button type="button" class="btn action_button submit var_sync_alt_system_aibusy" system_aibusy=False id="btnsend"
|
||||
onclick="socket.emit('submit', {'data': document.getElementById('input_text').value});document.getElementById('input_text').value = '';"
|
||||
>Submit</button>
|
||||
<button type="button" class="btn action_button submited var_sync_alt_system_aibusy" system_aibusy=False id="btnsend"><img src="static/thinking2.gif" class="force_center"></button>
|
||||
<button type="button" class="btn action_button submited var_sync_alt_system_aibusy" system_aibusy=False id="btnsend"><img src="static/thinking.gif" class="force_center"></button>
|
||||
<button type="button" class="btn action_button back" onclick="socket.emit('back', {});"><span class="oi" data-glyph="action-undo"></span></button>
|
||||
<button type="button" class="btn action_button redo" onclick="socket.emit('redo', {});"><span class="oi" data-glyph="action-redo"></span></button>
|
||||
<button type="button" class="btn action_button retry" onclick="socket.emit('retry', {});"><span class="oi" data-glyph="loop-circular"></span></button>
|
||||
|
Reference in New Issue
Block a user