mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/10272] Renamed a JavaScript variable.
PHPBB3-10272
This commit is contained in:
parent
6d8ecd7104
commit
e374678d7e
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue