Skip to content
Snippets Groups Projects
Commit 40bb8e8e authored by Kushal Pandya's avatar Kushal Pandya
Browse files

Fix Issuable container element selector for shortcuts handling

parent 6a31259c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment