diff --git a/src/inline-scripts/fs-helpers.js b/src/inline-scripts/fs-helpers.js index 83bb0ca..f33232d 100644 --- a/src/inline-scripts/fs-helpers.js +++ b/src/inline-scripts/fs-helpers.js @@ -44,7 +44,7 @@ function getNewFileHandle() { const opts = { types: [{ description: 'Text file', - accept: {'text/plain': ['txt']}, + accept: {'text/plain': ['.txt']}, }], }; return window.showSaveFilePicker(opts);