mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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: http://svn.automattic.com/wordpress/trunk@7324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5cd2e835d8
commit
04ae1fc75a
4
wp-includes/js/jquery/suggest.js
vendored
4
wp-includes/js/jquery/suggest.js
vendored
@ -183,7 +183,9 @@
|
||||
$results.hide();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
resetPosition(); // when the form moves after the page has loaded
|
||||
|
||||
var html = '';
|
||||
for (var i = 0; i < items.length; i++)
|
||||
html += '<li>' + items[i] + '</li>';
|
||||
|
Loading…
Reference in New Issue
Block a user