Fix page number interaction with thread icons. #849
This commit is contained in:
parent
9e5ccf155d
commit
c11054098e
@ -21,10 +21,10 @@ class Thread
|
||||
g.threads.push @fullID, @
|
||||
|
||||
setPage: (pageNum) ->
|
||||
{info, quote} = @OP.nodes
|
||||
unless icon = $ '.page-num', info
|
||||
{info, reply} = @OP.nodes
|
||||
unless (icon = $ '.page-num', info)
|
||||
icon = $.el 'span', className: 'page-num'
|
||||
$.after quote, [$.tn(' '), icon]
|
||||
$.replace reply.parentNode.previousSibling, [$.tn(' '), icon, $.tn(' ')]
|
||||
icon.title = "This thread is on page #{pageNum} in the original index."
|
||||
icon.textContent = "[#{pageNum}]"
|
||||
@catalogView.nodes.pageCount.textContent = pageNum if @catalogView
|
||||
|
||||
@ -89,9 +89,6 @@ body.hasDropDownNav{
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
.page-num {
|
||||
margin-right: -8px;
|
||||
}
|
||||
.fileText a {
|
||||
unicode-bidi: -moz-isolate;
|
||||
unicode-bidi: -webkit-isolate;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user