aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/overall_header.html
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2012-07-20 15:16:07 -0700
committerNils Adermann <naderman@naderman.de>2012-07-20 15:16:07 -0700
commitb3212bd7f9bd8b819dd6bc9741a319cdfccf24d2 (patch)
tree029791f5c6c84f1fed6a24c220840f7bc4346740 /phpBB/adm/style/overall_header.html
parent841ea0e494504400c798faa6cc860dd1179e1004 (diff)
parent61f7f1b8edf5cf0efb1b33495e2069a151d6baa9 (diff)
downloadforums-b3212bd7f9bd8b819dd6bc9741a319cdfccf24d2.tar
forums-b3212bd7f9bd8b819dd6bc9741a319cdfccf24d2.tar.gz
forums-b3212bd7f9bd8b819dd6bc9741a319cdfccf24d2.tar.bz2
forums-b3212bd7f9bd8b819dd6bc9741a319cdfccf24d2.tar.xz
forums-b3212bd7f9bd8b819dd6bc9741a319cdfccf24d2.zip
Merge pull request #904 from igorw/ticket/11008
[PHPBB3-11008] Get rid of eval in javascript
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)
{