1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-12-23 00:40:49 +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>");
break;
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
case UI_PAD:
$('#row').append(