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, @
|
g.threads.push @fullID, @
|
||||||
|
|
||||||
setPage: (pageNum) ->
|
setPage: (pageNum) ->
|
||||||
{info, quote} = @OP.nodes
|
{info, reply} = @OP.nodes
|
||||||
unless icon = $ '.page-num', info
|
unless (icon = $ '.page-num', info)
|
||||||
icon = $.el 'span', className: 'page-num'
|
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.title = "This thread is on page #{pageNum} in the original index."
|
||||||
icon.textContent = "[#{pageNum}]"
|
icon.textContent = "[#{pageNum}]"
|
||||||
@catalogView.nodes.pageCount.textContent = pageNum if @catalogView
|
@catalogView.nodes.pageCount.textContent = pageNum if @catalogView
|
||||||
|
|||||||
@ -89,9 +89,6 @@ body.hasDropDownNav{
|
|||||||
[hidden] {
|
[hidden] {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
.page-num {
|
|
||||||
margin-right: -8px;
|
|
||||||
}
|
|
||||||
.fileText a {
|
.fileText a {
|
||||||
unicode-bidi: -moz-isolate;
|
unicode-bidi: -moz-isolate;
|
||||||
unicode-bidi: -webkit-isolate;
|
unicode-bidi: -webkit-isolate;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user