From 6e7e97c8492be61d6a4a04bc4e83d916ac69ec05 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 11 Dec 2016 23:54:32 +0100 Subject: [PATCH] Fix metaKey usage --- .../components/features/compose/components/compose_form.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/features/compose/components/compose_form.jsx b/app/assets/javascripts/components/features/compose/components/compose_form.jsx index 962f8feeda..00589b3c81 100644 --- a/app/assets/javascripts/components/features/compose/components/compose_form.jsx +++ b/app/assets/javascripts/components/features/compose/components/compose_form.jsx @@ -95,7 +95,7 @@ const ComposeForm = React.createClass({ }, handleKeyUp (e) { - if (e.keyCode === 13 && (e.ctrlKey || (e.metaKey && e.metaKey === '⌘-'))) { + if (e.keyCode === 13 && (e.ctrlKey || e.metaKey)) { this.props.onSubmit(); } },