mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-12 20:02:08 +02:00
Merge remote-tracking branch 'cyberalien/ticket/11879' into develop-olympus
* cyberalien/ticket/11879: [ticket/11879] Replace .live() with .on()
This commit is contained in:
commit
8f2cebc0bb
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user