FIX: Prevent typing "#" when showing "Jump to…"
Closes https://meta.discourse.org/t/the-shortcut-behaves-wrong-in-some-browsers/155531
This commit is contained in:
parent
4c543b4a49
commit
13087cab54
|
@ -355,7 +355,8 @@ export default {
|
||||||
this.container.lookup("controller:topic").togglePinnedState();
|
this.container.lookup("controller:topic").togglePinnedState();
|
||||||
},
|
},
|
||||||
|
|
||||||
goToPost() {
|
goToPost(event) {
|
||||||
|
preventKeyboardEvent(event);
|
||||||
this.appEvents.trigger("topic:keyboard-trigger", { type: "jump" });
|
this.appEvents.trigger("topic:keyboard-trigger", { type: "jump" });
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue