aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/ajax.js
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/prosilver/template/ajax.js')
-rw-r--r--phpBB/styles/prosilver/template/ajax.js4
1 files 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();
});
}