From f26f17223f5783b53dc2dc5129d5f29927982ed2 Mon Sep 17 00:00:00 2001 From: Dirk Ginader Date: Wed, 22 Jun 2016 14:36:37 -0700 Subject: [PATCH] remove the CSS properties the script set itself instead of leaving behing potentially unwanted CSS on the original element --- src/fsm-sticky-header.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fsm-sticky-header.js b/src/fsm-sticky-header.js index 50ec11c..14b01f6 100644 --- a/src/fsm-sticky-header.js +++ b/src/fsm-sticky-header.js @@ -72,12 +72,12 @@ header.removeClass('fsm-sticky-header'); header.css({ - position: 'relative', - left: 0, - top: 0, - width: 'auto', - 'z-index': 0, - visibility: 'visible' + position: '', + left: '', + top: '', + width: '', + 'z-index': '', + visibility: '' }); } }