diff --git a/src/js/support.js b/src/js/support.js index ff10c0745..2cb12de83 100644 --- a/src/js/support.js +++ b/src/js/support.js @@ -146,6 +146,7 @@ uBlockDashboard.patchCodeMirrorEditor(cmEditor); }); uDom('#selectAllButton').on('click', ( ) => { + cmEditor.focus(); cmEditor.execCommand('selectAll'); }); })(); diff --git a/src/support.html b/src/support.html index c26d92a6c..ec5c94051 100644 --- a/src/support.html +++ b/src/support.html @@ -55,7 +55,7 @@
File a bug report.