11.5 Iteration F5: Making Images Clickable. click() doesn't trigger css transition
26 Feb 2014, 13:05
Jooin Kim (17 posts)
I wrote the code as described.
it works. unlike some other guys, double submit thing didn’t occur to me. if i click an image, it adds an item to the cart. but css transition doesn’t work. clicking the ‘add to cart’ button works as ajax. but clicking image trigger refreshing the page with no css transition.
I think in the file store.js.coffe
” $(this).parent().find(‘:submit’).click -> ‘
this just triggeres the submit action with no ajax…
did I do something wrong?
Or is anyone having the same issue?
|You must be logged in to comment|