diff options
author | Igor Wiedler <igor@wiedler.ch> | 2012-07-20 23:59:04 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-07-21 00:12:45 +0200 |
commit | 61f7f1b8edf5cf0efb1b33495e2069a151d6baa9 (patch) | |
tree | 029791f5c6c84f1fed6a24c220840f7bc4346740 /phpBB/styles/prosilver/template/simple_header.html | |
parent | ca43a8947a67642f6d1f211f1f5e030b2526ebe2 (diff) | |
download | forums-61f7f1b8edf5cf0efb1b33495e2069a151d6baa9.tar forums-61f7f1b8edf5cf0efb1b33495e2069a151d6baa9.tar.gz forums-61f7f1b8edf5cf0efb1b33495e2069a151d6baa9.tar.bz2 forums-61f7f1b8edf5cf0efb1b33495e2069a151d6baa9.tar.xz forums-61f7f1b8edf5cf0efb1b33495e2069a151d6baa9.zip |
[ticket/11008] Change onunload_functions to not use eval()
PHPBB3-11008
Diffstat (limited to 'phpBB/styles/prosilver/template/simple_header.html')
-rw-r--r-- | phpBB/styles/prosilver/template/simple_header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/simple_header.html b/phpBB/styles/prosilver/template/simple_header.html index 5440d66520..6026dfd329 100644 --- a/phpBB/styles/prosilver/template/simple_header.html +++ b/phpBB/styles/prosilver/template/simple_header.html @@ -26,7 +26,7 @@ { for (var i = 0; i < onload_functions.length; i++) { - eval(onload_functions[i]); + onload_functions[i](); } } @@ -34,7 +34,7 @@ { for (var i = 0; i < onunload_functions.length; i++) { - eval(onunload_functions[i]); + onunload_functions[i](); } } |