mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Bug fix
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
{% if (item['unit'] != 'bool') and (item['unit'] != 'text') and (item['uitype'] != 'dropdown') %}
|
{% if (item['unit'] != 'bool') and (item['unit'] != 'text') and (item['uitype'] != 'dropdown') %}
|
||||||
<input autocomplete="off" class="setting_value var_sync_{{ item['classname'] }}_{{ item['name'] }}" id="{{ item['classname'] }}_{{ item['name'] }}_cur"
|
<input autocomplete="off" class="setting_value var_sync_{{ item['classname'] }}_{{ item['name'] }}" id="{{ item['classname'] }}_{{ item['name'] }}_cur"
|
||||||
value="{{ item['default'] }}" item_id="{{ item['classname'] }}_{{ item['name'] }}"
|
value="{{ item['default'] }}" item_id="{{ item['classname'] }}_{{ item['name'] }}"
|
||||||
{% if item['unit'] == 'float' %} inputmode="decimal"{% elif item['unit'] == 'float' %} inputmode="numeric"{% endif %}
|
{% if item['unit'] == 'float' %} inputmode="decimal"{% elif item['unit'] == 'int' %} inputmode="numeric"{% endif %}
|
||||||
onchange="document.getElementById(this.getAttribute('item_id')).value = this.value; socket.emit('var_change', {'ID': this.id.replace('_cur', ''), 'value': this.value});">
|
onchange="document.getElementById(this.getAttribute('item_id')).value = this.value; socket.emit('var_change', {'ID': this.id.replace('_cur', ''), 'value': this.value});">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!---Bottom Row---->
|
<!---Bottom Row---->
|
||||||
|
Reference in New Issue
Block a user