From 2fdc5327e3ffb60afac0a90896a4e0ebfd28c557 Mon Sep 17 00:00:00 2001 From: Grant Nestor Date: Mon, 9 Oct 2017 11:39:51 -0700 Subject: [PATCH] Clean up --- notebook/static/tree/js/notebooklist.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/notebook/static/tree/js/notebooklist.js b/notebook/static/tree/js/notebooklist.js index 0e0dba4d4..495ad1246 100644 --- a/notebook/static/tree/js/notebooklist.js +++ b/notebook/static/tree/js/notebooklist.js @@ -540,10 +540,9 @@ define([ this._selection_changed(); }; - NotebookList.ipynb_extensions = ['ipynb']; - NotebookList.prototype._is_notebook = function(model) { - return includes_extension(model.path, NotebookList.ipynb_extensions); + var ipynb_extensions = ['ipynb']; + return includes_extension(model.path, ipynb_extensions); }; NotebookList.prototype._is_editable = function(model) {