diff options
| author | Callum Macrae <callum@lynxphp.com> | 2011-11-17 17:45:31 +0000 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 02:09:22 +0200 |
| commit | 0d83e8725bfa51427a629fb540daf16035492a97 (patch) | |
| tree | 806e10746f449309ab4dd0c3bdd8d6febf630ede /phpBB/styles/prosilver/template | |
| parent | 05a88966d4d7156417c151d657989dca4ae01b87 (diff) | |
| download | forums-0d83e8725bfa51427a629fb540daf16035492a97.tar forums-0d83e8725bfa51427a629fb540daf16035492a97.tar.gz forums-0d83e8725bfa51427a629fb540daf16035492a97.tar.bz2 forums-0d83e8725bfa51427a629fb540daf16035492a97.tar.xz forums-0d83e8725bfa51427a629fb540daf16035492a97.zip | |
[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
Diffstat (limited to 'phpBB/styles/prosilver/template')
| -rw-r--r-- | phpBB/styles/prosilver/template/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index efa1feb9cc..722295c65d 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -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(); }); } |
