diff --git a/src/definitions/modules/popup.js b/src/definitions/modules/popup.js index 2338c0eb0..f67acfef2 100644 --- a/src/definitions/modules/popup.js +++ b/src/definitions/modules/popup.js @@ -446,7 +446,7 @@ $.fn.popup = function(parameters) { calculations: function() { var targetElement = $target[0], - targetPosition = (settings.inline || settings.popup) + targetPosition = (settings.inline || (settings.popup && settings.movePopup)) ? $target.position() : $target.offset(), calculations = {},