Explorar o código

Inspector - Fixed bug in IE

Temechon %!s(int64=8) %!d(string=hai) anos
pai
achega
e1bfa8b1cf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      inspector/src/helpers/Helpers.ts

+ 1 - 1
inspector/src/helpers/Helpers.ts

@@ -128,7 +128,7 @@ module INSPECTOR {
             div.style.display = 'none';
             div.appendChild(clone);
             let value = Inspector.WINDOW.getComputedStyle(clone)[cssAttribute];
-            div.remove();
+            div.parentNode.removeChild(div);
             return value;
         }