Closed SuneGraversen closed 2 months ago
Solves #32 by adding a check if the data-state attribute is set, and saves that rather than .checked if it is set.
This solution assumes either .checked or data-state is used. Both would break it.
EDIT: This fix is tested locally and works on my end
Solves #32 by adding a check if the data-state attribute is set, and saves that rather than .checked if it is set.
This solution assumes either .checked or data-state is used. Both would break it.
EDIT: This fix is tested locally and works on my end