From 2491f1a3ba053f1c6d974e8b256bc17f88321df3 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 13:46:28 +1000 Subject: [PATCH] fix cssOptions bug #216 https://github.com/bigspotteddog/ScrollToFixed/issues/216 --- jquery-scrolltofixed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery-scrolltofixed.js b/jquery-scrolltofixed.js index aee7fa0..ddefc48 100644 --- a/jquery-scrolltofixed.js +++ b/jquery-scrolltofixed.js @@ -145,7 +145,7 @@ // not fill the rest of the page horizontally. Also, set its top // to the margin top specified in the options. - cssOptions={ + var cssOptions={ 'z-index' : base.options.zIndex, 'position' : 'fixed', 'top' : base.options.bottom == -1?getMarginTop():'',