Created
January 24, 2017 19:42
-
-
Save sarachisholm/e67c04cfa6eb3bf67801650c2668d086 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function openCart() { | |
$('.cart').addClass('js-active'); | |
} | |
function closeCart() { | |
$('.cart .btn--close').click(function () { | |
$('.cart').removeClass('js-active'); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment