From ad49a2975daa5f7b1cf2c068b95ce5892953e06c Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Thu, 5 Nov 2015 09:55:18 -0500 Subject: [PATCH] Fixing the tab disappearing when scrolling down. --- js/app.js | 2 +- js/custom/sticky-footer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index fe9987c..af2f87f 100644 --- a/js/app.js +++ b/js/app.js @@ -54,7 +54,7 @@ function get_footer_position() { } else if (bottom >= top_of_footer) { $("#connect").css('padding-bottom','53px'); - return 'relative'; + return 'fixed'; } else if (bottom <= top_of_footer) { $("#connect").css('padding-bottom','0'); diff --git a/js/custom/sticky-footer.js b/js/custom/sticky-footer.js index 939fbf5..eecad84 100644 --- a/js/custom/sticky-footer.js +++ b/js/custom/sticky-footer.js @@ -34,7 +34,7 @@ function get_footer_position() { } else if (bottom >= top_of_footer) { $("#connect").css('padding-bottom','53px'); - return 'relative'; + return 'fixed'; } else if (bottom <= top_of_footer) { $("#connect").css('padding-bottom','0'); -- 2.17.1