From 70af3ebdbf3c4faf6a508554e71c1634dd427d61 Mon Sep 17 00:00:00 2001 From: Daniel Cohen Gindi Date: Fri, 25 Mar 2016 09:23:46 +0300 Subject: [PATCH] Sizes may have changed in response to the window size change --- jquery.sticky.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jquery.sticky.js b/jquery.sticky.js index af2dfee..fc4f746 100644 --- a/jquery.sticky.js +++ b/jquery.sticky.js @@ -144,6 +144,9 @@ s.stickyElement.css('width', newWidth); } } + + // Sizes may have changed in response to the window size change + scroller(); }, methods = { init: function(options) {