aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-10-02 11:12:41 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-10-02 11:12:41 +0300
commita79d0e6758715ba8a9bb00e8942058c8fc4696f4 (patch)
treefbb9b687e47206d3376ba8df690368ecfe55ebaa
parent50f6af2a207dc18c1e76b08201a5c9ea640e921f (diff)
downloadforums-a79d0e6758715ba8a9bb00e8942058c8fc4696f4.tar
forums-a79d0e6758715ba8a9bb00e8942058c8fc4696f4.tar.gz
forums-a79d0e6758715ba8a9bb00e8942058c8fc4696f4.tar.bz2
forums-a79d0e6758715ba8a9bb00e8942058c8fc4696f4.tar.xz
forums-a79d0e6758715ba8a9bb00e8942058c8fc4696f4.zip
[ticket/11879] Replace .live() with .on()
PHPBB3-11879
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index 240fe7e51d..6a65caf6f6 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -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');