diff --git a/assets/js/_main.js b/assets/js/_main.js index a34b9ed7..e67a317e 100644 --- a/assets/js/_main.js +++ b/assets/js/_main.js @@ -11,7 +11,7 @@ $(document).ready(function(){ $(".sticky").Stickyfill(); var stickySideBar = function(){ - var show = $(".author__urls-wrapper button").length === 0 ? $(window).width() > 1024 : $(".author__urls-wrapper button").is(":visible"); + var show = $(".author__urls-wrapper button").length === 0 ? $(window).width() > 1024 : !$(".author__urls-wrapper button").is(":visible"); // console.log("has button: " + $(".author__urls-wrapper button").length === 0); // console.log("Window Width: " + windowWidth); // console.log("show: " + show);