You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jQuery workloads: use :nth-child() in a querySelector call in each iteration (#367)
This PR fixes the issue #365: jQuery test only ever marks the first todo item as completed
The bug was caused by jQuery replacing the whole todo list whenever each todo item is toggled.
Fixed it by running querySelector with :nth-child in each iteration.
Co-authored-by: Ryosuke Niwa <[email protected]>
0 commit comments