Skip to content

Commit

Permalink
Fix to rebinding in firefox by blurring the now-disabled button on re…
Browse files Browse the repository at this point in the history
…bind (#14053)
  • Loading branch information
philrenaud authored Aug 9, 2022
1 parent c23b7a6 commit 36cc240
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/app/services/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ export default class KeyboardService extends Service {
}
}

rebindCommand = (cmd) => {
rebindCommand = (cmd, ele) => {
ele.target.blur(); // keynav ignores on inputs
this.clearBuffer();
set(cmd, 'recording', true);
set(cmd, 'previousPattern', cmd.pattern);
Expand Down

0 comments on commit 36cc240

Please sign in to comment.