mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 12:34:59 +02:00
[ticket/10272] Made a JS selector less specific.
Now, style authors can change the posts to not be divs without the code breaking! PHPBB3-10272
This commit is contained in:
parent
05a88966d4
commit
0d83e8725b
@ -7,7 +7,7 @@ phpbb.add_ajax_callback('post_delete', function() {
|
||||
if (el.data('refresh') === undefined)
|
||||
{
|
||||
var post_id = el[0].href.split('&p=')[1];
|
||||
el.parents('div #p' + post_id).fadeOut(function() {
|
||||
el.parents('#p' + post_id).fadeOut(function() {
|
||||
$(this).remove();
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user