mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 19:01:37 +01:00
Backspace hotkey should override default behaviour (#32826)
This commit is contained in:
parent
e22ec25077
commit
157fba4698
1 changed files with 3 additions and 1 deletions
|
@ -482,7 +482,9 @@ class UI extends PureComponent {
|
|||
}
|
||||
};
|
||||
|
||||
handleHotkeyBack = () => {
|
||||
handleHotkeyBack = e => {
|
||||
e.preventDefault();
|
||||
|
||||
const { history } = this.props;
|
||||
|
||||
if (history.location?.state?.fromMastodon) {
|
||||
|
|
Loading…
Reference in a new issue