aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/overall_header.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/style/overall_header.html')
-rw-r--r--phpBB/adm/style/overall_header.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html
index f79c0318b5..f6d0e1025f 100644
--- a/phpBB/adm/style/overall_header.html
+++ b/phpBB/adm/style/overall_header.html
@@ -62,11 +62,7 @@ function dE(n, s, type)
*/
function marklist(id, name, state)
{
- var parent = document.getElementById(id);
- if (!parent)
- {
- eval('parent = document.' + id);
- }
+ var parent = document.getElementById(id) || document[id];
if (!parent)
{