From a2ca938e6005b2794ea30ae45ad4817094536199 Mon Sep 17 00:00:00 2001 From: Winston Date: Fri, 27 Feb 2015 20:03:20 -0500 Subject: [PATCH] Return closed dialog to it's original position --- core-overlay-layer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-overlay-layer.html b/core-overlay-layer.html index 58a5bb5..1d11cf9 100644 --- a/core-overlay-layer.html +++ b/core-overlay-layer.html @@ -101,7 +101,7 @@ } if (element.__parentNode) { var n = element.__nextElementSibling && element.__nextElementSibling - === element.__parentNode ? element.__nextElementSibling : null; + !== element.__parentNode ? element.__nextElementSibling : null; element.__parentNode.insertBefore(element, n); } },