commit | 4a703873f9f610e88b68e3a5ce507c9f6b502726 | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Thu Jul 26 10:59:41 2018 +0200 |
committer | Akron <nils@diewald-online.de> | Thu Jul 26 11:12:16 2018 +0200 |
tree | cee0f9413886e872de3fecffb9d8365de3dc3bf7 | |
parent | 867593933331c03e0d5ba96556dc1e11620d2dbc [diff] [blame] |
Fix plugin test suite Change-Id: Idbbcab85f0371e798fa7fe56d6a84fd65a86a9cd
diff --git a/dev/js/src/view.js b/dev/js/src/view.js index aabad29..2f35c9e 100644 --- a/dev/js/src/view.js +++ b/dev/js/src/view.js
@@ -80,7 +80,9 @@ */ close : function () { var e = this.element(); - e.parentNode.removeChild(e); + if (e.parentNode) { + e.parentNode.removeChild(e); + }; this.panel.delView(this); this._shown = false; if (this.onClose)