1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-22 04:00:55 +00:00

Fixing center Pad Button on touch devices

This commit is contained in:
Lukas Bachschwell 2017-10-23 12:20:54 +02:00
parent ae0056b8f3
commit 6f9f35c28e

View File

@ -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(