mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix for mobile touch
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
{% if item["uitype"] == "slider" %}
|
||||
<input type="range" min="{{ item['min'] }}" max="{{ item['max'] }}" step="{{ item['step'] }}"
|
||||
value="{{ item['default'] }}" id="{{ item['classname'] }}_{{ item['name'] }}" class="setting_item_input var_sync_{{ item['classname'] }}_{{ item['name'] }}"
|
||||
oninput="document.getElementById(this.id+'_cur').value = this.value;"
|
||||
onchange="document.getElementById(this.id+'_cur').value = this.value;"
|
||||
onclick="sync_to_server(this);">
|
||||
{% elif item["uitype"] == "toggle" %}
|
||||
<input type=checkbox id="{{ item['classname'] }}_{{ item['name'] }}" class="setting_item_input var_sync_{{ item['classname'] }}_{{ item['name'] }}"
|
||||
|
Reference in New Issue
Block a user