From a5a86738517904783f5fd367862fbe555c1a465d Mon Sep 17 00:00:00 2001 From: "Liming.Ma" Date: Fri, 13 Feb 2015 20:58:01 +0800 Subject: [PATCH] fix --- core-overlay.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-overlay.html b/core-overlay.html index 2c7c3d8..8060c24 100644 --- a/core-overlay.html +++ b/core-overlay.html @@ -454,7 +454,7 @@

Dialog

completeBackdrop: function() { if (this.backdrop) { trackBackdrop(this); - if (getBackdrops().length === 0) { + if (getBackdrops().length === 0 && this.scrim.parentNode) { this.scrim.parentNode.removeChild(this.scrim); } }