limit our keyboard shortcut modifiers correctly
fixes https://github.com/vector-im/riot-web/issues/3614
This commit is contained in:
parent
6a63c7e50c
commit
fa033e6116
3 changed files with 18 additions and 9 deletions
|
@ -766,7 +766,9 @@ var TimelinePanel = React.createClass({
|
|||
|
||||
// jump to the live timeline on ctrl-end, rather than the end of the
|
||||
// timeline window.
|
||||
if (ev.ctrlKey && ev.keyCode == KeyCode.END) {
|
||||
if (ev.ctrlKey && !ev.shiftKey && !ev.altKey && !ev.metaKey &&
|
||||
ev.keyCode == KeyCode.END)
|
||||
{
|
||||
this.jumpToLiveTimeline();
|
||||
} else {
|
||||
this.refs.messagePanel.handleScrollKey(ev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue