mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
e6d87c5bc0
commit
973f4bc887
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue