From 00f72487c5841d93f0119f2088e4579e3366635b Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Wed, 20 Nov 2013 22:16:53 +0000 Subject: [PATCH] Use setElement to set the view's element properly. --- IPython/html/static/notebook/js/widgets/button.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/IPython/html/static/notebook/js/widgets/button.js b/IPython/html/static/notebook/js/widgets/button.js index 29caf14f4..8b8b2bc7f 100644 --- a/IPython/html/static/notebook/js/widgets/button.js +++ b/IPython/html/static/notebook/js/widgets/button.js @@ -24,13 +24,12 @@ define(["notebook/js/widget"], function(widget_manager){ // Called when view is rendered. render : function(){ var that = this; - this.$el = $("