diff options
| -rw-r--r-- | phpBB/styles/prosilver/template/forum_fn.js | 2 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/posting_editor.html | 6 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/ucp_register.html | 5 | 
3 files changed, 2 insertions, 11 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 781c2ed31f..ac8861d4a8 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -383,3 +383,5 @@ function apply_onkeypress_event() {  		return true;  	});  } + +jQuery(document).ready(apply_onkeypress_event); diff --git a/phpBB/styles/prosilver/template/posting_editor.html b/phpBB/styles/prosilver/template/posting_editor.html index 8156968098..83dc6111dd 100644 --- a/phpBB/styles/prosilver/template/posting_editor.html +++ b/phpBB/styles/prosilver/template/posting_editor.html @@ -1,9 +1,3 @@ -<script type="text/javascript"> -// <![CDATA[ -	onload_functions.push(apply_onkeypress_event); -// ]]> -</script> -  <fieldset class="fields1">  	<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF --> diff --git a/phpBB/styles/prosilver/template/ucp_register.html b/phpBB/styles/prosilver/template/ucp_register.html index db95e5ba13..779c1fc2a3 100644 --- a/phpBB/styles/prosilver/template/ucp_register.html +++ b/phpBB/styles/prosilver/template/ucp_register.html @@ -10,11 +10,6 @@  		document.forms['register'].change_lang.value = lang_iso;  		document.forms['register'].submit.click();  	} - -	<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_REFRESH --> -	onload_functions.push(apply_onkeypress_event); -	<!-- ENDIF --> -  // ]]>  </script>  | 
