diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index 495ad12461..99458337a8 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -558,10 +558,8 @@ define([ var html_types = ['htm', 'html', 'xhtml', 'xml', 'mht', 'mhtml']; var media_extension = ['3gp', 'avi', 'mov', 'mp4', 'm4v', 'm4a', 'mp3', 'mkv', 'ogv', 'ogm', 'ogg', 'oga', 'webm', 'wav']; var image_type = ['bmp', 'gif', 'jpg', 'jpeg', 'png', 'webp']; - var archive_type = ['zip', 'rar']; - var other_type = ['txt', 'pdf', 'ico']; - var office_types = ['doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx']; - var viewable_extensions = [].concat(html_types, media_extension, image_type, archive_type, other_type, office_types); + var other_type = ['ico']; + var viewable_extensions = [].concat(html_types, media_extension, image_type, other_type); return model.mimetype === 'text/html' || includes_extension(model.path, viewable_extensions); };