diff --git a/jquery-scrolltofixed.js b/jquery-scrolltofixed.js index ddefc48..b957bf0 100644 --- a/jquery-scrolltofixed.js +++ b/jquery-scrolltofixed.js @@ -211,7 +211,7 @@ 'margin-left' : '' }); - target.removeClass('scroll-to-fixed-fixed'); + target.removeClass(base.options.baseClassName); if (base.options.className) { target.removeClass(base.options.className);