diff --git a/main.js b/main.js index bbbf228..4bc4c98 100644 --- a/main.js +++ b/main.js @@ -1191,10 +1191,10 @@ function loadstorage() } var title = params.get("n") || params.get("name"); - if (document.title.value) + if (window.title.value) { // reload current - loadnote(document.title.value); + loadnote(window.title.value); } else if (title) {