mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/11879] Replace .live() with .on()
PHPBB3-11879
This commit is contained in:
@@ -403,7 +403,7 @@ function apply_onkeypress_event()
|
||||
// jQuery code in case jQuery is used
|
||||
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');
|
||||
|
||||
|
Reference in New Issue
Block a user