From a8db290620bfd20f60cb7a560552035e4f512bd5 2014-01-16 10:57:17 From: Jonathan Frederic Date: 2014-01-16 10:57:17 Subject: [PATCH] remove .html(''); --- diff --git a/IPython/html/static/notebook/js/widgets/widget_selection.js b/IPython/html/static/notebook/js/widgets/widget_selection.js index 128ec56..40e82c6 100644 --- a/IPython/html/static/notebook/js/widgets/widget_selection.js +++ b/IPython/html/static/notebook/js/widgets/widget_selection.js @@ -122,8 +122,7 @@ define(["notebook/js/widgets/widget"], function(widget_manager){ // Called when view is rendered. render : function(){ this.$el - .addClass('widget-hbox') - .html(''); + .addClass('widget-hbox'); this.$label = $('
') .appendTo(this.$el) .addClass('widget-hlabel') @@ -215,8 +214,7 @@ define(["notebook/js/widgets/widget"], function(widget_manager){ // Called when view is rendered. render : function(){ this.$el - .addClass('widget-hbox-single') - .html(''); + .addClass('widget-hbox-single'); this.$label = $('
') .appendTo(this.$el) .addClass('widget-hlabel') @@ -303,8 +301,7 @@ define(["notebook/js/widgets/widget"], function(widget_manager){ // Called when view is rendered. render : function(){ this.$el - .addClass('widget-hbox') - .html(''); + .addClass('widget-hbox'); this.$label = $('
') .appendTo(this.$el) .addClass('widget-hlabel')