Commit f81d3745 authored by Tim Zallmann's avatar Tim Zallmann

Merge branch '8511-fix-selector-for-issuable-contents' into 'master'

Fix Issuable container element selector for shortcuts handling

Closes #8511

See merge request gitlab-org/gitlab-ee!8544
parents 0b1e8837 886d20d5
......@@ -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();
......
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