mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue