From 6ad5f6c8c600b671a7dee10fa7e2742b2241fb65 Mon Sep 17 00:00:00 2001 From: Ilya Diallo Date: Sat, 24 Jun 2017 22:37:06 +0200 Subject: [PATCH] Removing redundant setUnfixed() call --- jquery-scrolltofixed.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/jquery-scrolltofixed.js b/jquery-scrolltofixed.js index aee7fa0..116d49a 100644 --- a/jquery-scrolltofixed.js +++ b/jquery-scrolltofixed.js @@ -516,9 +516,6 @@ }); target.bind('scroll.ScrollToFixed', function() { - target.trigger('preUnfixed.ScrollToFixed'); - setUnfixed(); - target.trigger('unfixed.ScrollToFixed'); checkScroll(); });