We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 854b29d commit a640767Copy full SHA for a640767
apps/sched/README.md
@@ -84,7 +84,7 @@ E.showPrompt=(function(message,options) {
84
draw(i); // highlighted button
85
g.flip(); // write to screen
86
E.showPrompt(); // remove
87
- if (e.type===2 /*long press*/ && options.buttonsLong && options.buttonsLong[btns[i]])
+ if (e.type===2 /*long press*/ && options.buttonsLong && btns[i] in options.buttonsLong)
88
resolve(options.buttonsLong[btns[i]]);
89
else
90
resolve(options.buttons[btns[i]]);
0 commit comments