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 = $("")
+ this.setElement($("")
.addClass('btn')
.click(function() {
that.model.set('clicks', that.model.get('clicks') + 1);
that.model.update_other_views(that);
- });
- this._ensureElement();
+ }));
this.update(); // Set defaults.
},