mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 16:11:21 +02:00
[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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user