equal
deleted
inserted
replaced
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 } |