mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11879] Replace .live() with .on()
PHPBB3-11879
This commit is contained in:
parent
50f6af2a20
commit
a79d0e6758
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ function apply_onkeypress_event()
|
||||||
// jQuery code in case jQuery is used
|
// jQuery code in case jQuery is used
|
||||||
if (jquery_present)
|
if (jquery_present)
|
||||||
{
|
{
|
||||||
jQuery('form input[type=text], form input[type=password]').live('keypress', function (e)
|
jQuery('form input[type=text], form input[type=password]').on('keypress', function (e)
|
||||||
{
|
{
|
||||||
var default_button = jQuery(this).parents('form').find('input[type=submit].default-submit-action');
|
var default_button = jQuery(this).parents('form').find('input[type=submit].default-submit-action');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue