mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-05 12:19:58 +08:00
fixed bug stopping the edit notebook metadata popup from closing
This commit is contained in:
parent
fc2c46141d
commit
24f1191cfa
@ -234,7 +234,8 @@ define(['jquery',
|
||||
});
|
||||
|
||||
modal_obj.on('shown.bs.modal', function(){ editor.refresh(); });
|
||||
modal_obj.on('hide.bs.modal', function(){options.edit_metadata_button.focus(); });
|
||||
modal_obj.on('hide.bs.modal', function(){
|
||||
options.edit_metadata_button ? options.edit_metadata_button.focus() : ""});
|
||||
};
|
||||
|
||||
var edit_attachments = function (options) {
|
||||
|
Loading…
Reference in New Issue
Block a user