Browse Source

#2340, in cases where context is automatically determined because it was not specified in settings, refresh on resize

dimmer-flex
jlukic 9 years ago
parent
commit
bd8824c11d
1 changed files with 3 additions and 0 deletions
  1. 3
      src/definitions/modules/sticky.js

3
src/definitions/modules/sticky.js

@ -187,6 +187,9 @@ $.fn.sticky = function(parameters) {
refresh: function(hardRefresh) { refresh: function(hardRefresh) {
module.reset(); module.reset();
if(!settings.context) {
module.determineContext();
}
if(hardRefresh) { if(hardRefresh) {
$container = $module.offsetParent(); $container = $module.offsetParent();
} }

Loading…
Cancel
Save