mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Fixed backbone event handling for accordion view
This commit is contained in:
parent
35e74c41b8
commit
e9bf942375
@ -22,9 +22,9 @@ define(["notebook/js/widget"], function(widget_manager){
|
|||||||
|
|
||||||
render: function(){
|
render: function(){
|
||||||
var guid = 'accordion' + IPython.utils.uuid();
|
var guid = 'accordion' + IPython.utils.uuid();
|
||||||
this.$el = $('<div />', {id: guid})
|
this.$el
|
||||||
|
.attr('id', guid)
|
||||||
.addClass('accordion');
|
.addClass('accordion');
|
||||||
this._ensureElement();
|
|
||||||
this.containers = [];
|
this.containers = [];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user