Merge pull request #184 from MitarashiDango/fix_ime_conversion
特定条件下においてタグ入力が正常に行えない問題の修正
This commit is contained in:
commit
a8a6aecef3
8
resources/assets/js/checkin.js
vendored
8
resources/assets/js/checkin.js
vendored
@ -33,9 +33,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user