Don't let the auto-suggest overwrite the form field after the page has redrawn a bit. Fixes #6240. Hat tip: azaozz.
git-svn-id: https://develop.svn.wordpress.org/trunk@7324 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
68097610a2
commit
5a72522fb2
2
wp-includes/js/jquery/suggest.js
vendored
2
wp-includes/js/jquery/suggest.js
vendored
@ -184,6 +184,8 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resetPosition(); // when the form moves after the page has loaded
|
||||||
|
|
||||||
var html = '';
|
var html = '';
|
||||||
for (var i = 0; i < items.length; i++)
|
for (var i = 0; i < items.length; i++)
|
||||||
html += '<li>' + items[i] + '</li>';
|
html += '<li>' + items[i] + '</li>';
|
||||||
|
Loading…
Reference in New Issue
Block a user