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.
else
1 parent 5b83d75 commit 7972356Copy full SHA for 7972356
libs/js/banglejs/E_showPrompt_Q3.js
@@ -64,10 +64,10 @@
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 && options.buttonsLong[btns[i]])
68
resolve(options.buttonsLong[btns[i]]);
69
- }
70
- resolve(options.buttons[btns[i]]);
+ else
+ resolve(options.buttons[btns[i]]);
71
}
72
});
73
}};
0 commit comments