Skip to content

Commit a640767

Browse files
RKBoss6bobrippling
andauthored
Update apps/sched/README.md for latest code from PR
Co-authored-by: Rob Pilling <robpilling@gmail.com>
1 parent 854b29d commit a640767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sched/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ E.showPrompt=(function(message,options) {
8484
draw(i); // highlighted button
8585
g.flip(); // write to screen
8686
E.showPrompt(); // remove
87-
if (e.type===2 /*long press*/ && options.buttonsLong && options.buttonsLong[btns[i]])
87+
if (e.type===2 /*long press*/ && options.buttonsLong && btns[i] in options.buttonsLong)
8888
resolve(options.buttonsLong[btns[i]]);
8989
else
9090
resolve(options.buttons[btns[i]]);

0 commit comments

Comments
 (0)