Commit 40bb8e8e authored by Kushal Pandya's avatar Kushal Pandya

Fix Issuable container element selector for shortcuts handling

parent 6a31259c
...@@ -30,7 +30,7 @@ export default class ShortcutsIssuable extends Shortcuts { ...@@ -30,7 +30,7 @@ export default class ShortcutsIssuable extends Shortcuts {
return false; return false;
} }
const documentFragment = getSelectedFragment(document.querySelector('.issuable-details')); const documentFragment = getSelectedFragment(document.querySelector('#content-body'));
if (!documentFragment) { if (!documentFragment) {
$replyField.focus(); $replyField.focus();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment