mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/10272] Renamed a JavaScript variable.
PHPBB3-10272
This commit is contained in:
committed by
Igor Wiedler
parent
6d8ecd7104
commit
e374678d7e
@@ -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();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user