Skip to content

Instantly share code, notes, and snippets.

@kamaroly
Created December 17, 2018 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kamaroly/ad2ec950eed4b3005205273a0127cea2 to your computer and use it in GitHub Desktop.
Save kamaroly/ad2ec950eed4b3005205273a0127cea2 to your computer and use it in GitHub Desktop.
Auto update cart after quantity change. You trigger the click, but the button doesn't have enough time to become enabled, so that is why, by the time you click the second time the button becomes enabled. Remove the "disabled" propriety before triggering the click:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment