Commit 1fc450d0 authored by Tim Zallmann's avatar Tim Zallmann

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

CE Backport: Fix Issuable container element selector for shortcuts handling

See merge request gitlab-org/gitlab-ce!23260
parents 91727f7d 40bb8e8e
......@@ -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) {
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