dropdown privacy in the middle
This commit is contained in:
parent
a7cacdee4f
commit
8c0078f3e1
1 changed files with 2 additions and 2 deletions
|
@ -645,8 +645,8 @@ $.fn.apply_edit = function(data){
|
|||
o_mask = $("#prepared .privacy_settings").clone();
|
||||
$("body").append(o_mask);
|
||||
o_mask.css({
|
||||
top: $(this).offset().top + $(this).outerHeight() + 5 + 'px',
|
||||
left: $(this).offset().left + $(this).outerWidth() - $(o_mask).outerWidth() + 'px'
|
||||
top: $(this).offset().top - (($(o_mask).outerHeight() - $(this).outerHeight()) / 2) + 'px',
|
||||
left: $(this).offset().left - (($(o_mask).outerWidth() - $(this).outerWidth()) / 2 ) + 'px'
|
||||
});
|
||||
|
||||
// Show mask and dropdown
|
||||
|
|
Loading…
Add table
Reference in a new issue