Fix post fetching
This commit is contained in:
parent
ca9abdc4e7
commit
be4be5a94b
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ Get =
|
|||||||
excerpt = "#{excerpt[...67]}..."
|
excerpt = "#{excerpt[...67]}..."
|
||||||
"/#{thread.board}/ - #{excerpt}"
|
"/#{thread.board}/ - #{excerpt}"
|
||||||
threadFromRoot: (root) ->
|
threadFromRoot: (root) ->
|
||||||
g.threads[root.dataset.fullID]
|
g.threads[$('.opcontainer', root).dataset.fullID]
|
||||||
threadFromNode: (node) ->
|
threadFromNode: (node) ->
|
||||||
Get.threadFromRoot $.x 'ancestor::div[@class="thread"]', node
|
Get.threadFromRoot $.x 'ancestor::div[@class="thread"]', node
|
||||||
postFromRoot: (root) ->
|
postFromRoot: (root) ->
|
||||||
|
|||||||
@ -503,7 +503,9 @@ div.center:not(.ad-cnt) {
|
|||||||
}
|
}
|
||||||
#index-search-clear {
|
#index-search-clear {
|
||||||
color: gray;
|
color: gray;
|
||||||
margin-left: -1em;
|
position: relative;
|
||||||
|
left: -1.25em;
|
||||||
|
width: 0;
|
||||||
}
|
}
|
||||||
<% if (type === 'crx') { %>
|
<% if (type === 'crx') { %>
|
||||||
/* ``::-webkit-*'' selectors break selector lists on Firefox. */
|
/* ``::-webkit-*'' selectors break selector lists on Firefox. */
|
||||||
|
|||||||
@ -23,7 +23,6 @@ class Post
|
|||||||
@thread.OP = @
|
@thread.OP = @
|
||||||
@thread.isSticky = !!$ '.stickyIcon', info
|
@thread.isSticky = !!$ '.stickyIcon', info
|
||||||
@thread.isClosed = !!$ '.closedIcon', info
|
@thread.isClosed = !!$ '.closedIcon', info
|
||||||
root.parentElement.dataset.fullID = @fullID
|
|
||||||
|
|
||||||
@info = {}
|
@info = {}
|
||||||
if subject = $ '.subject', info
|
if subject = $ '.subject', info
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user