From dbafe2c75e0571ee4c466a8232ff0ef9f6021827 Mon Sep 17 00:00:00 2001 From: MitarashiDango Date: Thu, 25 Apr 2019 03:11:11 +0900 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E5=AE=9A=E6=9D=A1=E4=BB=B6=E4=B8=8B?= =?UTF-8?q?=E3=81=AB=E3=81=8A=E3=81=84=E3=81=A6=E3=82=BF=E3=82=B0=E5=85=A5?= =?UTF-8?q?=E5=8A=9B=E3=81=8C=E6=AD=A3=E5=B8=B8=E3=81=AB=E8=A1=8C=E3=81=88?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/assets/js/checkin.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/assets/js/checkin.js b/resources/assets/js/checkin.js index 5682915..4814a44 100644 --- a/resources/assets/js/checkin.js +++ b/resources/assets/js/checkin.js @@ -28,9 +28,11 @@ $('#tagInput').on('keydown', function (ev) { case 'Tab': case 'Enter': case ' ': - insertTag($this.val().trim()); - $this.val(''); - updateTags(); + if (ev.originalEvent.isComposing !== true) { + insertTag($this.val().trim()); + $this.val(''); + updateTags(); + } ev.preventDefault(); break; }