From: Laury GvR Date: Thu, 5 Nov 2015 14:55:18 +0000 (-0500) Subject: Fixing the tab disappearing when scrolling down. X-Git-Tag: V1.0.0^2~38 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ad49a2975daa5f7b1cf2c068b95ce5892953e06c;p=WP-Themes%2FGovernmentEmmet.git Fixing the tab disappearing when scrolling down. --- 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');