Browse Source

Merge branch 'master' of github.com:Semantic-Org/Semantic-UI into next

pull/2755/merge
Jack Lukic 9 years ago
parent
commit
2e8fe32a19
1 changed files with 3 additions and 7 deletions
  1. 10
      src/definitions/modules/sticky.js

10
src/definitions/modules/sticky.js

@ -390,12 +390,8 @@ $.fn.sticky = function(parameters) {
},
size: function() {
if(module.cache.element.height !== 0 && module.cache.element.width !== 0) {
$module
.css({
width : module.cache.element.width,
height : module.cache.element.height
})
;
$module.get(0).style.setProperty('width', module.cache.element.width + 'px', 'important');
$module.get(0).style.setProperty('height', module.cache.element.height + 'px', 'important');
}
}
},
@ -882,4 +878,4 @@ $.fn.sticky.settings = {
};
})( jQuery, window , document );
})( jQuery, window , document );
Loading…
Cancel
Save