diff --git a/js/app.js b/js/app.js index e41bc42..2171f35 100755 --- a/js/app.js +++ b/js/app.js @@ -38,8 +38,11 @@ JQ.Widget = Em.Mixin.create({ this.removeObserver(prop, observers[prop]); } } - ui._destroy(); + ui.destroy(); + this.set('ui', null); } + + this._super(); }, // Each jQuery UI widget has a series of options that can be configured.