Merge branch 'follow-button-viz-update' of https://github.com/ZenHarbinger/minimal-mistakes into feature/sidebar-visibility-sticky-check

This commit is contained in:
Michael Rose 2016-06-24 15:30:43 -04:00
commit 1edc062f40
2 changed files with 4 additions and 5 deletions

View file

@ -11,16 +11,15 @@ $(document).ready(function(){
$(".sticky").Stickyfill();
var stickySideBar = function(){
var windowWidth = $(window).width();
if (windowWidth > 1024) {
if (!$(".author__urls-wrapper button").is(":visible")) {
// fix
Stickyfill.rebuild();
Stickyfill.init();
$(".author__urls").show()
$(".author__urls").show();
} else {
// unfix
Stickyfill.stop();
$(".author__urls").hide()
$(".author__urls").hide();
}
};

File diff suppressed because one or more lines are too long