mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-22 09:10:54 +00:00
Fixing center Pad Button on touch devices
This commit is contained in:
parent
ae0056b8f3
commit
6f9f35c28e
2
examples/gui/data/js/controls.js
vendored
2
examples/gui/data/js/controls.js
vendored
@ -67,7 +67,7 @@ function start() {
|
|||||||
"</div>");
|
"</div>");
|
||||||
break;
|
break;
|
||||||
case UI_CPAD:
|
case UI_CPAD:
|
||||||
center = "<a class='confirm' onmousedown='padclick(CENTER, "+data.id+", true)' onmouseup='padclick(CENTER, "+data.id+", false)' href='#' id='c"+data.id+"'>OK</a>";
|
center = "<a class='confirm' onmousedown='padclick(CENTER, "+data.id+", true)' onmouseup='padclick(CENTER, "+data.id+", false)' href='#' id='pc"+data.id+"'>OK</a>";
|
||||||
//NO BREAK
|
//NO BREAK
|
||||||
case UI_PAD:
|
case UI_PAD:
|
||||||
$('#row').append(
|
$('#row').append(
|
||||||
|
Loading…
Reference in New Issue
Block a user