tmedwards / sugarcube-2

SugarCube is a free (gratis and libre) story format for Twine/Twee.
https://www.motoslave.net/sugarcube/2/
BSD 2-Clause "Simplified" License
177 stars 41 forks source link

Bug? Autosaves + Slotsaves have same ID for load/delete buttons #330

Closed manonamora closed 1 month ago

manonamora commented 1 month ago

Describe the bug. In the Save Dialog Box, the buttons to load an auto save and a slot save have the same ID (see screenshot). Same thing for the delete buttons (see screenshot). This is only noticeable when:

To Reproduce: Enable autosave, create a few autosaves, check the HTML of the page

Expected behavior. The buttons for the autosave slots should have a different ID name, like autosaves-load-[i] instead of saves-load-[i] (or saves-load-auto-[i])

Screenshots. image

Project details.

Desktop details.

Smartphone/tablet details.

Additional context. Add any other context about the problem here.