diff --git a/main.js b/main.js index b1b2ab7..b6622d6 100644 --- a/main.js +++ b/main.js @@ -1305,7 +1305,8 @@ function migratelegacystorage() var legacy = localStorage.getItem("data"); if (legacy) { - alert("Hey! I am about to migrate your notes to the brand new data model. No worries, I will keep a backup somewhere in case things go wrong. Take a deep breath, and click ok when you're ready.") + alert("Hey! I am about to migrate your notes to the brand new data model. No worries, I will keep a backup somewhere in case things go wrong. Take a deep breath, and click ok when you're ready."); + localStorage.setItem("legacy", legacy); legacy = JSON.parse(legacy); var index = {}; legacy.reverse().forEach( (note, i) =>