Skip to content

Commit

Permalink
Update drawer.js (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
agamemnus authored and katspaugh committed Jun 8, 2017
1 parent c96b206 commit 1a1358c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ export default class Drawer extends util.Observer {
destroy() {
this.unAll();
if (this.wrapper) {
this.container.removeChild(this.wrapper);
if (this.wrapper.parentNode == this.container) this.container.removeChild(this.wrapper);
this.wrapper = null;
}
}
Expand Down

0 comments on commit 1a1358c

Please sign in to comment.