Fixed backbone event handling for accordion view

This commit is contained in:
Jonathan Frederic 2013-12-10 16:54:33 -08:00 committed by Jonathan Frederic
parent 35e74c41b8
commit e9bf942375

View File

@ -22,9 +22,9 @@ define(["notebook/js/widget"], function(widget_manager){
render: function(){
var guid = 'accordion' + IPython.utils.uuid();
this.$el = $('<div />', {id: guid})
this.$el
.attr('id', guid)
.addClass('accordion');
this._ensureElement();
this.containers = [];
},