1
0
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:
Andreas Fischer 2013-10-02 15:00:26 +02:00
commit 8f2cebc0bb

View File

@ -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');