Skip to content

Commit

Permalink
fix: ts
Browse files Browse the repository at this point in the history
  • Loading branch information
r74tech committed May 22, 2022
1 parent fb80bc3 commit 6c5a627
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ editsaveButton.addEventListener('click', async () => {


document.addEventListener('DOMContentLoaded', () => {

// StorageからJSON文字列を取得し、それをパースして元の値を復元
const FtmlStrageItem = localStorage.getItem("FtmlStrage");
console.log(FtmlStrageItem);
const FtmlStrageItem = localStorage.getItem("FtmlStrage");
if (FtmlStrageItem){
const FtmlStrage = JSON.parse(FtmlStrageItem);
edittitleField.value = FtmlStrage.title;
Expand Down

0 comments on commit 6c5a627

Please sign in to comment.