Make WordPress Core

Changeset 29301


Ignore:
Timestamp:
07/25/2014 03:56:57 PM (11 years ago)
Author:
helen
Message:

Don't interfere with browser-based autocomplete in the link modal. props SergeyBiryukov. fixes #28685.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/wplink.js

    r28828 r29301  
    349349            }
    350350
     351            if ( inputs.url.is( ':focus' ) || inputs.title.is( ':focus' ) ) {
     352                return;
     353            }
     354
    351355            fn = event.keyCode === key.UP ? 'prev' : 'next';
    352356            clearInterval( wpLink.keyInterval );
Note: See TracChangeset for help on using the changeset viewer.