Ticket #45371: 45371.1.patch
File 45371.1.patch, 650 bytes (added by , 6 years ago) |
---|
-
src/js/_enqueues/admin/tags-box.js
377 377 * 378 378 * @return {void} 379 379 */ 380 $( 'input.newtag', ajaxtag ).key press( function( event ) {381 if ( 13 == event.which ) {380 $( 'input.newtag', ajaxtag ).keyup( function( event ) { 381 if ( 13 == event.which && ! ( event.originalEvent && event.originalEvent.isComposing ) ) { 382 382 tagBox.userAction = 'add'; 383 383 tagBox.flushTags( $( this ).closest( '.tagsdiv' ) ); 384 384 event.preventDefault();