e93e7d4dd9
git-svn-id: https://develop.svn.wordpress.org/trunk@21005 602fd350-edb4-49c9-b593-d223f7449a82
1 line
455 B
JavaScript
1 line
455 B
JavaScript
(function(a){var b="undefined"!==typeof current_site_id?"&site_id="+current_site_id:"";a(document).ready(function(){a(".wp-suggest-user").autocomplete({source:ajaxurl+"?action=autocomplete-user&autocomplete_type=add"+b,delay:500,minLength:2,position:("undefined"!==typeof isRtl&&isRtl)?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open")}})})})(jQuery); |