Interval is set to 0 the first time settings is accessed #1

Closed
opened 2013-12-12 21:59:45 +00:00 by Nicd · 1 comment
Nicd commented 2013-12-12 21:59:45 +00:00 (Migrated from gitlab.com)

Created by: Nicd

If the localstorage hasn't been used yet, there are no initial values for settings so they return null, which is converted to 0 on the slider. Default values should be added.

*Created by: Nicd* If the localstorage hasn't been used yet, there are no initial values for settings so they return null, which is converted to 0 on the slider. Default values should be added.
Nicd commented 2013-12-13 21:03:58 +00:00 (Migrated from gitlab.com)

Created by: Nicd

Use default value for localstorage read when no stored value, fixes #1

→ <<cset 9e8d35ea2bd9>>

*Created by: Nicd* Use default value for localstorage read when no stored value, fixes #1 → <<cset 9e8d35ea2bd9>>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: nicd/SailTime#1
No description provided.