diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index 4cf108d01..ba5ca31f4 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -555,6 +555,7 @@ define([ var uri_prefix = NotebookList.uri_prefixes[model.type]; if (model.type === 'file' && model.mimetype && model.mimetype.substr(0,5) !== 'text/' + && !model.mimetype.endsWith('javascript') ) { // send text/unidentified files to editor, others go to raw viewer uri_prefix = 'files';