Fix Issuable container element selector for shortcuts handling
This commit is contained in:
parent
6a31259cce
commit
40bb8e8e68
|
@ -30,7 +30,7 @@ export default class ShortcutsIssuable extends Shortcuts {
|
|||
return false;
|
||||
}
|
||||
|
||||
const documentFragment = getSelectedFragment(document.querySelector('.issuable-details'));
|
||||
const documentFragment = getSelectedFragment(document.querySelector('#content-body'));
|
||||
|
||||
if (!documentFragment) {
|
||||
$replyField.focus();
|
||||
|
|
Loading…
Reference in New Issue