Improve social follow popover button

This commit is contained in:
Michael Rose
2016-03-21 00:03:46 -04:00
parent abb89f7eb6
commit a2a4f84580
6 changed files with 83 additions and 50 deletions

View File

@@ -28,8 +28,13 @@ $(document).ready(function(){
stickySideBar();
});
// Follow menu drop down
$(".author__urls-wrapper button").on("click", function() {
$(".author__urls").fadeToggle("fast", function() {});
$(".author__urls-wrapper button").toggleClass("open");
$(".author__urls-wrapper button:after").css("content", "-");
});
// init smooth scroll
$("a").smoothScroll({offset: -20});