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 d9f3494 commit 8a5b7b3Copy full SHA for 8a5b7b3
libs/js/banglejs/E_showPrompt_Q3.js
@@ -64,7 +64,7 @@
64
draw(i); // highlighted button
65
g.flip(); // write to screen
66
E.showPrompt(); // remove
67
- 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)
68
resolve(options.buttonsLong[btns[i]]);
69
else
70
resolve(options.buttons[btns[i]]);
0 commit comments