mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 06:51:08 +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);
|
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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user