isCtrlOrCmdKeyEvent -> isOnlyCtrlOrCmdKeyEvent
This commit is contained in:
parent
ddd0e161c0
commit
363fe04a10
5 changed files with 9 additions and 9 deletions
|
@ -19,7 +19,7 @@ limitations under the License.
|
|||
import * as Matrix from 'matrix-js-sdk';
|
||||
import React from 'react';
|
||||
|
||||
import { KeyCode, isCtrlOrCmdKeyEvent } from '../../Keyboard';
|
||||
import { KeyCode, isOnlyCtrlOrCmdKeyEvent } from '../../Keyboard';
|
||||
import Notifier from '../../Notifier';
|
||||
import PageTypes from '../../PageTypes';
|
||||
import CallMediaHandler from '../../CallMediaHandler';
|
||||
|
@ -153,7 +153,7 @@ export default React.createClass({
|
|||
*/
|
||||
|
||||
let handled = false;
|
||||
const ctrlCmdOnly = isCtrlOrCmdKeyEvent(ev);
|
||||
const ctrlCmdOnly = isOnlyCtrlOrCmdKeyEvent(ev);
|
||||
|
||||
switch (ev.keyCode) {
|
||||
case KeyCode.UP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue