comparison interfaces/ape.js @ 3075:0fc927572aab

#122 Time-lock on APE from touch
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Tue, 31 Oct 2017 22:27:18 +0000
parents 5c9cb8147a51
children f565be5c8fc7
comparison
equal deleted inserted replaced
3074:5c9cb8147a51 3075:0fc927572aab
573 if (event.type == "touchstart") { 573 if (event.type == "touchstart") {
574 var selected = getTargetSlider(event.target); 574 var selected = getTargetSlider(event.target);
575 if (typeof selected != "object") { 575 if (typeof selected != "object") {
576 return; 576 return;
577 } 577 }
578 UI.startTime = new Date();
578 UI.selected = selected; 579 UI.selected = selected;
579 } 580 }
580 if (UI.selected === undefined) { 581 if (UI.selected === undefined) {
581 return; 582 return;
582 } 583 }