From e374678d7eff7b0b4070d23f8e2ff328c05a3db3 Mon Sep 17 00:00:00 2001 From: Callum Macrae Date: Thu, 17 Nov 2011 17:27:18 +0000 Subject: [PATCH] [ticket/10272] Renamed a JavaScript variable. PHPBB3-10272 --- phpBB/styles/prosilver/template/ajax.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index 1920b53ce2..b43921056c 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -6,8 +6,8 @@ phpbb.add_ajax_callback('post_delete', function() { var el = $(this); if (el.data('refresh') === undefined) { - var pid = el[0].href.split('&p=')[1]; - el.parents('div #p' + pid).fadeOut(function() { + var post_id = el[0].href.split('&p=')[1]; + el.parents('div #p' + post_id).fadeOut(function() { $(this).remove(); }); }