Don't interfere with browser-based autocomplete in the link modal. props SergeyBiryukov. fixes #28685.
git-svn-id: https://develop.svn.wordpress.org/trunk@29301 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
59cec2e2ff
commit
357d96c367
|
@ -348,6 +348,10 @@ var wpLink;
|
|||
return;
|
||||
}
|
||||
|
||||
if ( inputs.url.is( ':focus' ) || inputs.title.is( ':focus' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
fn = event.keyCode === key.UP ? 'prev' : 'next';
|
||||
clearInterval( wpLink.keyInterval );
|
||||
wpLink[ fn ]();
|
||||
|
|
Loading…
Reference in New Issue