diff --git a/www/pad/main.js b/www/pad/main.js index 27afcecc5..58c48b699 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -556,7 +556,9 @@ define([ if (!readOnly) { /* add an import button */ - var $import = Cryptpad.createButton('import', true, {}, importFile); + var $import = Cryptpad.createButton('import', true, { + accept: 'text/html' + }, importFile); $drawer.append($import); }