Created
March 10, 2012 23:42
-
-
Save iande/2014025 to your computer and use it in GitHub Desktop.
jcart modification
This file contains hidden or 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
// Line 174 of jcart v1.3 | |
// Add an item to the cart | |
$('.jcart').submit(function(e) { | |
add($(this)); | |
e.preventDefault(); | |
}); | |
// Try replacing or adding: | |
$('#parentContainer').on('submit', '.jcart', function (e) { | |
add($(this)); | |
e.preventDefault(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment