Rename site.selectors.relative.replyPost to site.selectors.relative.replyHighlight
This commit is contained in:
parent
576a223fc8
commit
4e84b284ca
@ -145,7 +145,7 @@ ThreadHiding =
|
||||
a
|
||||
|
||||
makeStub: (thread, root) ->
|
||||
numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyPost, root).length
|
||||
numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyHighlight, root).length
|
||||
numReplies += +summary.textContent.match /\d+/ if summary = $ g.SITE.selectors.summary, root
|
||||
|
||||
a = ThreadHiding.makeButton thread, 'show'
|
||||
|
||||
@ -58,7 +58,7 @@ ExpandThread =
|
||||
return if @ isnt status.req # aborted
|
||||
delete status.req
|
||||
ExpandThread.parse @, thread, a
|
||||
status.numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyPost, thread.nodes.root).length
|
||||
status.numReplies = $$(g.SITE.selectors.postContainer + g.SITE.selectors.relative.replyHighlight, thread.nodes.root).length
|
||||
|
||||
contract: (thread, a, threadRoot) ->
|
||||
status = ExpandThread.statuses[thread]
|
||||
|
||||
@ -68,15 +68,15 @@
|
||||
outline: 2px solid rgba(145, 182, 214, .8);
|
||||
}
|
||||
:root.spooky.highlight-you .quotesYou$site$relative$opHighlight,
|
||||
:root.spooky.highlight-you .quotesYou$site$relative$replyPost {
|
||||
:root.spooky.highlight-you .quotesYou$site$relative$replyHighlight {
|
||||
border-left: 3px solid rgba(145, 182, 214, .8);
|
||||
}
|
||||
:root.spooky.highlight-own .yourPost$site$relative$opHighlight,
|
||||
:root.spooky.highlight-own .yourPost$site$relative$replyPost {
|
||||
:root.spooky.highlight-own .yourPost$site$relative$replyHighlight {
|
||||
border-left: 3px dashed rgba(145, 182, 214, .8);
|
||||
}
|
||||
:root.spooky .filter-highlight$site$relative$opHighlight,
|
||||
:root.spooky .filter-highlight$site$relative$replyPost {
|
||||
:root.spooky .filter-highlight$site$relative$replyHighlight {
|
||||
box-shadow: inset 5px 0 rgba(145, 182, 214, .5);
|
||||
}
|
||||
:root.spooky.highlight-own .yourPost > $site$sideArrows,
|
||||
|
||||
@ -1441,15 +1441,15 @@ input[name="Default Volume"] {
|
||||
outline: 2px solid rgba(216, 94, 49, .8);
|
||||
}
|
||||
:root.highlight-you .quotesYou$site$relative$opHighlight,
|
||||
:root.highlight-you .quotesYou$site$relative$replyPost {
|
||||
:root.highlight-you .quotesYou$site$relative$replyHighlight {
|
||||
border-left: 3px solid rgba(221, 0, 0, .8);
|
||||
}
|
||||
:root.highlight-own .yourPost$site$relative$opHighlight,
|
||||
:root.highlight-own .yourPost$site$relative$replyPost {
|
||||
:root.highlight-own .yourPost$site$relative$replyHighlight {
|
||||
border-left: 3px dashed rgba(221, 0, 0, .8);
|
||||
}
|
||||
.filter-highlight$site$relative$opHighlight,
|
||||
.filter-highlight$site$relative$replyPost {
|
||||
.filter-highlight$site$relative$replyHighlight {
|
||||
box-shadow: inset 5px 0 rgba(221, 0, 0, .5);
|
||||
}
|
||||
:root.highlight-own .yourPost > $site$sideArrows,
|
||||
|
||||
@ -64,15 +64,15 @@
|
||||
outline: 2px solid rgba(145, 182, 214, .8);
|
||||
}
|
||||
:root.tomorrow.highlight-you .quotesYou$site$relative$opHighlight,
|
||||
:root.tomorrow.highlight-you .quotesYou$site$relative$replyPost {
|
||||
:root.tomorrow.highlight-you .quotesYou$site$relative$replyHighlight {
|
||||
border-left: 3px solid rgba(145, 182, 214, .8);
|
||||
}
|
||||
:root.tomorrow.highlight-own .yourPost$site$relative$opHighlight,
|
||||
:root.tomorrow.highlight-own .yourPost$site$relative$replyPost {
|
||||
:root.tomorrow.highlight-own .yourPost$site$relative$replyHighlight {
|
||||
border-left: 3px dashed rgba(145, 182, 214, .8);
|
||||
}
|
||||
:root.tomorrow .filter-highlight$site$relative$opHighlight,
|
||||
:root.tomorrow .filter-highlight$site$relative$replyPost {
|
||||
:root.tomorrow .filter-highlight$site$relative$replyHighlight {
|
||||
box-shadow: inset 5px 0 rgba(145, 182, 214, .5);
|
||||
}
|
||||
:root.tomorrow.highlight-own .yourPost > $site$sideArrows,
|
||||
|
||||
@ -91,9 +91,9 @@ SW.tinyboard =
|
||||
thumbLink: '.file > a'
|
||||
multifile: '.files > .file'
|
||||
relative:
|
||||
opHighlight: ' > .op'
|
||||
replyPost: '.reply'
|
||||
replyOriginal: 'div[id^="reply_"]:not(.hidden)'
|
||||
opHighlight: ' > .op'
|
||||
replyHighlight: '.reply'
|
||||
replyOriginal: 'div[id^="reply_"]:not(.hidden)'
|
||||
catalogHighlight: ' > .thread'
|
||||
comment: '.body'
|
||||
spoiler: '.spoiler'
|
||||
|
||||
@ -54,9 +54,9 @@ SW.yotsuba =
|
||||
thumb: 'a.fileThumb > [data-md5]'
|
||||
thumbLink: 'a.fileThumb'
|
||||
relative:
|
||||
opHighlight: '.opContainer'
|
||||
replyPost: ' > .reply'
|
||||
replyOriginal: '.replyContainer:not([data-clone])'
|
||||
opHighlight: '.opContainer'
|
||||
replyHighlight: ' > .reply'
|
||||
replyOriginal: '.replyContainer:not([data-clone])'
|
||||
catalogHighlight: ''
|
||||
comment: '.postMessage'
|
||||
spoiler: 's'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user