Disable hotkeys in quote posts
This commit is contained in:
parent
2240380f68
commit
6500be2782
1 changed files with 1 additions and 1 deletions
|
@ -1025,7 +1025,7 @@ function Status({
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
const hotkeysEnabled = !readOnly && !previewMode;
|
const hotkeysEnabled = !readOnly && !previewMode && !quoted;
|
||||||
const rRef = useHotkeys('r, shift+r', replyStatus, {
|
const rRef = useHotkeys('r, shift+r', replyStatus, {
|
||||||
enabled: hotkeysEnabled,
|
enabled: hotkeysEnabled,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue