|
@ -687,11 +687,6 @@ $.fn.popup = function(parameters) { |
|
|
popup = calculations.popup; |
|
|
popup = calculations.popup; |
|
|
parent = calculations.parent; |
|
|
parent = calculations.parent; |
|
|
|
|
|
|
|
|
if(target.top === 0 && target.left === 0) { |
|
|
|
|
|
module.debug('Popup target is hidden, no action taken'); |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(settings.inline) { |
|
|
if(settings.inline) { |
|
|
module.debug('Adding margin to calculation', target.margin); |
|
|
module.debug('Adding margin to calculation', target.margin); |
|
|
if(position == 'left center' || position == 'right center') { |
|
|
if(position == 'left center' || position == 'right center') { |
|
|