mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-30 19:49:54 +02:00
[ticket/11008] Change onunload_functions to not use eval()
PHPBB3-11008
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
// <![CDATA[
|
||||
onload_functions.push('document.getElementById("keywords").focus();');
|
||||
onload_functions.push(function () {
|
||||
document.getElementById("keywords").focus();
|
||||
});
|
||||
// ]]>
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user