Hide by default responsibilities and click to show them
This commit is contained in:
parent
3b8d0348c8
commit
dd6fecf5b5
4 changed files with 23 additions and 2 deletions
|
@ -373,6 +373,17 @@ var projectCards;
|
|||
adjustRecentPostsHeight();
|
||||
showAchievements();
|
||||
};
|
||||
|
||||
if (isMobile) {
|
||||
$(".position").click(function() {
|
||||
let responsabilities = $(this).find('.responsabilities');
|
||||
if (responsabilities.is(":visible")) {
|
||||
responsabilities.slideUp( "slow");
|
||||
}
|
||||
else responsabilities.slideDown("slow");
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue