File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
notebook/static/notebook/js Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -174,20 +174,6 @@ define([
174174 that . notebook . save_notebook_as ( ) ;
175175 return false ;
176176 } ) ;
177- this . element . find ( '#download_ipynb' ) . click ( function ( ) {
178- var base_url = that . notebook . base_url ;
179- var notebook_path = utils . encode_uri_components ( that . notebook . notebook_path ) ;
180- var url = utils . url_path_join (
181- base_url , 'files' , notebook_path
182- ) + '?download=1' ;
183- if ( that . notebook . dirty && that . notebook . writable ) {
184- that . notebook . save_notebook ( ) . then ( function ( ) {
185- that . _new_window ( url ) ;
186- } ) ;
187- } else {
188- that . _new_window ( url ) ;
189- }
190- } ) ;
191177
192178 this . element . find ( '#print_preview' ) . click ( function ( ) {
193179 that . _nbconvert ( 'html' , false ) ;
You can’t perform that action at this time.
0 commit comments