diff --git a/phpBB/adm/style/admin.js b/phpBB/adm/style/admin.js index 74269e92e9..4f7f5a990b 100644 --- a/phpBB/adm/style/admin.js +++ b/phpBB/adm/style/admin.js @@ -7,12 +7,12 @@ /** * Parse document block */ -function parse_document(container) +function parse_document(container) { var test = document.createElement('div'), oldBrowser = (typeof test.style.borderRadius == 'undefined'); - delete test; + test.remove(); /** * Navigation @@ -92,7 +92,7 @@ function parse_document(container) } }); } - + headersLength = headers.length; // Add header text to each cell as @@ -159,7 +159,7 @@ function parse_document(container) if ($this.html() == ' ') { $this.addClass('responsive-hide'); } - + }); /**