fixed regression - buttons not sending commands
This commit is contained in:
+1
-1
@@ -2238,7 +2238,7 @@ var Input = (function() {
|
||||
_initKeys();
|
||||
|
||||
// Button presses
|
||||
qsa('#buttons button').forEach(function(s) {
|
||||
qsa('#action-buttons button').forEach(function(s) {
|
||||
s.addEventListener('click', function() {
|
||||
sendBtnMsg(+this.dataset['n']);
|
||||
});
|
||||
|
||||
@@ -638,7 +638,7 @@ var Input = (function() {
|
||||
_initKeys();
|
||||
|
||||
// Button presses
|
||||
qsa('#buttons button').forEach(function(s) {
|
||||
qsa('#action-buttons button').forEach(function(s) {
|
||||
s.addEventListener('click', function() {
|
||||
sendBtnMsg(+this.dataset['n']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user