mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08: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);
|
var el = $(this);
|
||||||
if (el.data('refresh') === undefined)
|
if (el.data('refresh') === undefined)
|
||||||
{
|
{
|
||||||
var pid = el[0].href.split('&p=')[1];
|
var post_id = el[0].href.split('&p=')[1];
|
||||||
el.parents('div #p' + pid).fadeOut(function() {
|
el.parents('div #p' + post_id).fadeOut(function() {
|
||||||
$(this).remove();
|
$(this).remove();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue