[ticket/11795] Remove outdated comment from forum_fn.js

This comment is no longer relevant because function was rewritten

PHPBB3-11795
This commit is contained in:
Vjacheslav Trushkin 2013-08-30 15:36:17 +03:00
parent e6d87c5bc0
commit 973f4bc887

View file

@ -277,8 +277,6 @@ function phpbb_check_key(event) {
/** /**
* Apply onkeypress event for forcing default submit button on ENTER key press * Apply onkeypress event for forcing default submit button on ENTER key press
* The jQuery snippet used is based on http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/
* The non-jQuery code is a mimick of the jQuery code ;)
*/ */
function apply_onkeypress_event() { function apply_onkeypress_event() {
jQuery('form input[type=text], form input[type=password]').on('keypress', function (e) { jQuery('form input[type=text], form input[type=password]').on('keypress', function (e) {