From 889ee629a625ec0cf162219111cbf1c6affbc2eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=B8=D0=BB=20=D0=9F=D1=80=D0=BE?= =?UTF-8?q?=D0=BD=D0=B8=D0=BD?= Date: Mon, 25 Jul 2016 14:03:00 +1000 Subject: [PATCH] fix #208 bug https://github.com/bigspotteddog/ScrollToFixed/issues/208 --- jquery-scrolltofixed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);