Fixed condition that should be notted.
This commit is contained in:
parent
e5147f8de9
commit
cd79ac9a64
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ $(document).ready(function(){
|
||||||
$(".sticky").Stickyfill();
|
$(".sticky").Stickyfill();
|
||||||
|
|
||||||
var stickySideBar = function(){
|
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("has button: " + $(".author__urls-wrapper button").length === 0);
|
||||||
// console.log("Window Width: " + windowWidth);
|
// console.log("Window Width: " + windowWidth);
|
||||||
// console.log("show: " + show);
|
// console.log("show: " + show);
|
||||||
|
|
Loading…
Reference in a new issue