aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/search_body.html
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/prosilver/template/search_body.html')
-rw-r--r--phpBB/styles/prosilver/template/search_body.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/search_body.html b/phpBB/styles/prosilver/template/search_body.html
index a8baafa5f1..0d8797b2ff 100644
--- a/phpBB/styles/prosilver/template/search_body.html
+++ b/phpBB/styles/prosilver/template/search_body.html
@@ -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>