diff --git a/js/theia-sticky-sidebar.js b/js/theia-sticky-sidebar.js index 98727d3..d6cb94b 100755 --- a/js/theia-sticky-sidebar.js +++ b/js/theia-sticky-sidebar.js @@ -77,7 +77,10 @@ options.initialized = true; // Add CSS - $('head').append($('')); + var existingStylesheet = $('#theia-sticky-sidebar-stylesheet-' + options.namespace); + if (existingStylesheet.length === 0) { + $('head').append($('')); + } $that.each(function () { var o = {};