From bd8824c11d8811262a29608b63ce9773a7759e2b Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 2 Jun 2015 18:53:50 -0400 Subject: [PATCH] #2340, in cases where context is automatically determined because it was not specified in settings, refresh on resize --- src/definitions/modules/sticky.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/definitions/modules/sticky.js b/src/definitions/modules/sticky.js index 67865ba3c..abd884925 100644 --- a/src/definitions/modules/sticky.js +++ b/src/definitions/modules/sticky.js @@ -187,6 +187,9 @@ $.fn.sticky = function(parameters) { refresh: function(hardRefresh) { module.reset(); + if(!settings.context) { + module.determineContext(); + } if(hardRefresh) { $container = $module.offsetParent(); }