Created
January 23, 2017 10:45
-
-
Save nicco88/514b8f0399ff37eea75ac5a0f18641bf 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
var helpTip = document.getElementsByClassName("help-tip")[0]; | |
var minCart = document.getElementById("min-cart"); | |
helpTip.onclick = function() { | |
minCart.style.display = "block"; | |
for (var i = 0; i < minCart.children.length; i++) { | |
minCart.children[i].style.display = "block"; | |
} | |
} | |
function () { | |
minCart.style.display = "block"; | |
for (var i = 0; i < minCart.children.length; i++) { | |
minCart.children[i].style.display = "block"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment