Skip to content

Commit

Permalink
fix #348
Browse files Browse the repository at this point in the history
  • Loading branch information
philipskokoh committed Aug 28, 2017
1 parent 5a81d75 commit dc0b1f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _site/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@
},

remove: function() {
this.el.remove();
if ( this.el !== null ) { this.el.remove(); }
this.fire("removed", this );
this.removeAllObservers();
this.el = null;
Expand Down
2 changes: 1 addition & 1 deletion src/app/ui/abstractWidget/abstractWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},

remove: function() {
this.el.remove();
if ( this.el !== null ) { this.el.remove(); }
this.fire("removed", this );
this.removeAllObservers();
this.el = null;
Expand Down

0 comments on commit dc0b1f6

Please sign in to comment.