diff --git a/src/definitions/modules/popup.js b/src/definitions/modules/popup.js index 6eebcfc0d..a861eb45e 100644 --- a/src/definitions/modules/popup.js +++ b/src/definitions/modules/popup.js @@ -96,7 +96,7 @@ $.fn.popup = function(parameters) { } else { if(settings.inline) { - $popup = $target.next(selector.popup).eq(0); + $popup = $target.nextAll(selector.popup).eq(0); settings.popup = $popup; } }