diff options
| author | czaks <marcin@6irc.net> | 2013-07-26 14:27:38 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-27 00:29:37 -0400 |
| commit | c51dc146e2248a09d97941a73ac5ef65ee4e1085 (patch) | |
| tree | 5f15a8b134f01ffd2978d46fa31e2bdbfbd3569f /js | |
| parent | d82cd9b7bd03708f4940b4508acd0394713b8869 (diff) | |
hide-threads.js: show post hider even in posts without an image
Diffstat (limited to 'js')
| -rw-r--r-- | js/hide-threads.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/hide-threads.js b/js/hide-threads.js index 734dfe78..03c33a3f 100644 --- a/js/hide-threads.js +++ b/js/hide-threads.js @@ -45,7 +45,7 @@ $(document).ready(function(){ var id = $(this).children('p.intro').children('a.post_no:eq(1)').text(); var thread_container = $(this).parent(); $('<a class="hide-thread-link" style="float:left;margin-right:5px" href="javascript:void(0)">[–]</a><span> </span>') - .insertBefore(thread_container.find('p.fileinfo:first')) + .insertBefore(thread_container.find(':first')) .click(function() { hidden_data[board][id] = Math.round(Date.now() / 1000); store_data(); |
