wp/wp-admin/js/user-suggest.js
changeset 18 be944660c56a
parent 9 177826044cd9
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    12 
    12 
    13 /* global ajaxurl, current_site_id, isRtl */
    13 /* global ajaxurl, current_site_id, isRtl */
    14 
    14 
    15 (function( $ ) {
    15 (function( $ ) {
    16 	var id = ( typeof current_site_id !== 'undefined' ) ? '&site_id=' + current_site_id : '';
    16 	var id = ( typeof current_site_id !== 'undefined' ) ? '&site_id=' + current_site_id : '';
    17 	$(document).ready( function() {
    17 	$( function() {
    18 		var position = { offset: '0, -1' };
    18 		var position = { offset: '0, -1' };
    19 		if ( typeof isRtl !== 'undefined' && isRtl ) {
    19 		if ( typeof isRtl !== 'undefined' && isRtl ) {
    20 			position.my = 'right top';
    20 			position.my = 'right top';
    21 			position.at = 'right bottom';
    21 			position.at = 'right bottom';
    22 		}
    22 		}