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 0270cf7 commit cd30bfeCopy full SHA for cd30bfe
python-main.js
@@ -590,7 +590,12 @@ function web_editor(config) {
590
// Bind the ESCAPE key.
591
$(document).keyup(function(e) {
592
if (e.keyCode == 27) { // ESCAPE
593
- $('#command-download').focus();
+ if ( $('#command-download').is(':visible') ) {
594
+ $('#command-download').focus();
595
+ }
596
+ else if ( $('#command-flash').is(':visible') ){
597
+ $('#command-flash').focus();
598
599
}
600
});
601
// Bind drag and drop into editor.
0 commit comments