diff --git a/src/definitions/modules/sticky.js b/src/definitions/modules/sticky.js index 0bf854a17..7bd12ad86 100644 --- a/src/definitions/modules/sticky.js +++ b/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 ); \ No newline at end of file +})( jQuery, window , document );