diff --git a/js/auto-reload.js b/js/auto-reload.js index 623027d4..73a4daed 100644 --- a/js/auto-reload.js +++ b/js/auto-reload.js @@ -248,7 +248,7 @@ $(document).ready(function(){ } } if ($("div.post").length > 1){ - $(this).parent().insertAfter($('div.post:not(.post-hover):last').parent().next()).after('
'); + $(this).insertAfter($('div.post:not(.post-hover):last').next()).after('
'); } else { $(this).insertAfter($('div.post:not(.post-hover):last')).after('
'); diff --git a/js/post-filter.js b/js/post-filter.js index 9c2e232d..69ee0839 100644 --- a/js/post-filter.js +++ b/js/post-filter.js @@ -228,7 +228,7 @@ if (active_page === 'thread' || active_page === 'index' || active_page === 'cata var ele = e.target.parentElement.parentElement; var $ele = $(ele); - var threadId = $ele.parent().attr('id').replace('thread_', ''); + var threadId = $ele.parent('.thread').attr('id').replace('thread_', ''); var boardId = $ele.parent().data('board'); var postId = $ele.find('.post_no').not('[id]').text(); if (pageData.hasUID) { @@ -608,7 +608,7 @@ if (active_page === 'thread' || active_page === 'index' || active_page === 'cata '#filter-list th:nth-child(2) {text-align: left;}\n' + '#filter-list th:nth-child(3) {text-align: center; width: 58px;}\n' + '#filter-list tr:not(#header) {height: 22px;}\n' + - '#filter-list tr:nth-child(even) {background-color:rgba(255, 255, 255, 0.5);}\n' + + '#filter-list tr:nth-child(even) {background-color:rgba(255, 255, 255, 0.2);}\n' + '#filter-list td:nth-child(1) {text-align: center; width: 70px;}\n' + '#filter-list td:nth-child(3) {text-align: center; width: 58px;}\n' + '#confirm {text-align: right; margin-bottom: -18px; padding-top: 2px; font-size: 14px; color: #FF0000;}'; diff --git a/templates/post_reply.html b/templates/post_reply.html index 936d19c3..3f646633 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -1,33 +1,31 @@ {% filter remove_whitespace %} {# tabs and new lines will be ignored #} -
-
>>
-
-

- {% if not index %}{% endif %} - - - {% include 'post/poster_id.html' %}  - No. - {{ post.id }} -

- {% include 'post/fileinfo.html' %} - {% include 'post/post_controls.html' %} -
1 %}style="clear:both"{% endif %}> - {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %} - {% if post.modifiers['ban message'] %} - {{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }} - {% endif %} - {% if post.modifiers['warning message'] %} - {{ config.mod.warning_message|sprintf(post.modifiers['warning message']) }} - {% endif %} -
+
+

+ {% if not index %}{% endif %} + + + {% include 'post/poster_id.html' %}  + No. + {{ post.id }} +

+ {% include 'post/fileinfo.html' %} + {% include 'post/post_controls.html' %} +
1 %}style="clear:both"{% endif %}> + {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %} + {% if post.modifiers['ban message'] %} + {{ config.mod.ban_message|sprintf(post.modifiers['ban message']) }} + {% endif %} + {% if post.modifiers['warning message'] %} + {{ config.mod.warning_message|sprintf(post.modifiers['warning message']) }} + {% endif %}
+
{% endfilter %}