From 2fadf77f3754a9941c2aca86e962de61be9eb50f Mon Sep 17 00:00:00 2001 From: Daniel Collins Date: Mon, 3 Aug 2015 18:11:46 +0000 Subject: [PATCH] Look for inline popup in all siblings of target, not just immediate sibling. --- src/definitions/modules/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }