forked from leftypol/leftypol
Fix post-filter, remove lainchan postcontainer
This commit is contained in:
parent
52cd74a01d
commit
0806e39c03
3 changed files with 29 additions and 31 deletions
|
@ -248,7 +248,7 @@ $(document).ready(function(){
|
|||
}
|
||||
}
|
||||
if ($("div.post").length > 1){
|
||||
$(this).parent().insertAfter($('div.post:not(.post-hover):last').parent().next()).after('<br class="clear">');
|
||||
$(this).insertAfter($('div.post:not(.post-hover):last').next()).after('<br class="clear">');
|
||||
}
|
||||
else {
|
||||
$(this).insertAfter($('div.post:not(.post-hover):last')).after('<br class="clear">');
|
||||
|
|
|
@ -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;}';
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{% filter remove_whitespace %}
|
||||
{# tabs and new lines will be ignored #}
|
||||
<div class="postcontainer" id="pc{{ post.id }}" data-board="{{ board.uri }}">
|
||||
<div class="sidearrows">>></div>
|
||||
<div class="post reply" id="reply_{{ post.id }}">
|
||||
<div class="post reply" id="reply_{{ post.id }}" data-board="{{ board.uri }}">
|
||||
<p class="intro">
|
||||
{% if not index %}<a id="{{ post.id }}" class="post_anchor"></a>{% endif %}
|
||||
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
|
||||
|
@ -29,5 +27,5 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</br>
|
||||
{% endfilter %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue