Skip to content

Commit

Permalink
toglge
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Dec 11, 2023
1 parent 8b761ac commit eab01b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wikiblogarden/tadi-web/cloud/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ A simple "save password to local storage" toggle would let the user choose.

<mark> const handleToggle = () => {
localStorage.setItem("save", checkbox.checked);
if (checkbox.checked) {</mark>
if (checkbox.checked) {
localStorage.setItem("password", input.value);
} else {
localStorage.removeItem("password");
Expand Down

0 comments on commit eab01b9

Please sign in to comment.