diff --git a/CHANGELOG.md b/CHANGELOG.md index f90c6e697..bde7a3ea1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ **Merged pull requests:** -- Vote button code improvements [\#1140](https://github.com/torrentpier/torrentpier/pull/1140), [\#1142](https://github.com/torrentpier/torrentpier/pull/1142) ([belomaxorka](https://github.com/belomaxorka)) +- Vote button code improvements [\#1140](https://github.com/torrentpier/torrentpier/pull/1140), [\#1142](https://github.com/torrentpier/torrentpier/pull/1142), [\#1143](https://github.com/torrentpier/torrentpier/pull/1143) ([belomaxorka](https://github.com/belomaxorka)) - Vote button and v2 file list topic url display [\#1138](https://github.com/torrentpier/torrentpier/pull/1138) ([kovalensky](https://github.com/kovalensky)) - Removed topic watch useless code [\#1137](https://github.com/torrentpier/torrentpier/pull/1137) ([belomaxorka](https://github.com/belomaxorka)) - Fixed topic_watch array key name [\#1136](https://github.com/torrentpier/torrentpier/pull/1136) ([belomaxorka](https://github.com/belomaxorka)) diff --git a/styles/templates/default/viewtopic_attach.tpl b/styles/templates/default/viewtopic_attach.tpl index 564483b07..eeb951327 100644 --- a/styles/templates/default/viewtopic_attach.tpl +++ b/styles/templates/default/viewtopic_attach.tpl @@ -415,21 +415,14 @@ $('#tor-filelist-btn').click(function(){ BB.thx_btn_clicked = true; } $('#thx-list').html(data.html); - $('#thx-list b').after(' '); open_thx_list(); - $('#thx-list b').each(function () { - var uid = $(this).find('u').text(); - if (uid > 0) { - $(this).wrap(''); - } - }); } $(function () { $thx_head = $('#thx-block').find('.sp-head'); close_thx_list(); $('#thx-btn').one('click', function () { - $(this).prop({disabled: true}); ajax.thx('add'); + $(this).prop({disabled: true}); }); $thx_head.one('click', function () { if (!BB.thx_btn_clicked) {