Fix for mobile touch

This commit is contained in:
ebolam
2023-09-04 15:31:30 -04:00
parent 565ab8a38f
commit 5d23f10bf3

View File

@@ -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'] }}"