diff --git a/src/node/handler/ImportHandler.js b/src/node/handler/ImportHandler.js index e1ac59ccb..9653bc929 100644 --- a/src/node/handler/ImportHandler.js +++ b/src/node/handler/ImportHandler.js @@ -276,7 +276,7 @@ exports.doImport = (req, res, padId) => { '', ].join('\n')); diff --git a/src/static/js/pad_impexp.js b/src/static/js/pad_impexp.js index ea93de7c9..07848d141 100644 --- a/src/static/js/pad_impexp.js +++ b/src/static/js/pad_impexp.js @@ -171,7 +171,6 @@ const padimpexp = (() => { $('.disabledexport').click(cantExport); }, handleFrameCall: (directDatabaseAccess, status) => { - if (directDatabaseAccess === 'undefined') directDatabaseAccess = false; if (status !== 'ok') { importErrorMessage(status); } else {