WeCodePixels / theia-sticky-sidebar

Glues your website's sidebars, making them permanently visible while scrolling.
MIT License
569 stars 209 forks source link

Causes a javascript error in Gillian wordpress theme #55

Closed gumusdesigngroup closed 6 years ago

gumusdesigngroup commented 6 years ago

scripts.js?ver=1.0:1062 Uncaught TypeError: $(...).theiaStickySidebar is not a function at HTMLDocument. (scripts.js?ver=1.0:1062) at i (jquery.js?ver=1.12.4:2) at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2) at Function.ready (jquery.js?ver=1.12.4:2) at HTMLDocument.K (jquery.js?ver=1.12.4:2)


$('#sidebar').theiaStickySidebar({ additionalMarginTop: parseInt( $('.sh-header').height() + $('#wpadminbar').height() + 15 ), minWidth: 1026 });

liviucmg commented 6 years ago

This is very specific and probably not a bug in our library. Perhaps you are using a caching plugin that's wrongly reordering the JS files. Either way, please contacts us here for issues with the WordPress plugin, or the theme's author if the plugin came bundled.