Devlog 09: Synchronization Bug Fixes and URL Component Decoding
Argument Reference and Logic Rectification
Corrected a ReferenceError inside the titleInput listener by swapping an un-sanitized token (newDate) with the valid, persistent variable targetString.
Fixed an assignment error where a single operator (if(newTitle="")) muted intended comparison logic, replacing it with a strict equality check (newTitle === "").
URL Normalization and Component Decoding
Integrated decodeURIComponent() into loadInitialState() and the hashchange observer to prevent percent-encoded character corruption.
Resolved text distortion for multibyte layouts (e.g., Chinese characters), ensuring continuous string fidelity across shared links.
Established a default text fallback (“目標”) to secure interface rendering stability during empty input states.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.