Skip to content

Commit

Permalink
change handle to trigger in response to button press
Browse files Browse the repository at this point in the history
  • Loading branch information
mpacer committed Oct 4, 2017
1 parent e4ce2fa commit 102a698
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebook/static/notebook/js/menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ define('notebook/js/menubar',[

var that = this;

var handle_nbconvert_post = function(){
var trigger_nbconvert_post = function(){
var filereader = new FileReader();
filereader.onload = function(){
var my_config_data = filereader.result;
Expand Down Expand Up @@ -257,7 +257,7 @@ define('notebook/js/menubar',[
cancel : {
click: function(){return true;}
},
download : {click: handle_nbconvert_post}
download : {click: trigger_nbconvert_post}
}
});

Expand Down

0 comments on commit 102a698

Please sign in to comment.