Merge branch 'v3'
This commit is contained in:
commit
823f09634f
@ -6009,7 +6009,7 @@
|
|||||||
return "/" + thread.board + "/ - " + excerpt;
|
return "/" + thread.board + "/ - " + excerpt;
|
||||||
},
|
},
|
||||||
threadFromRoot: function(root) {
|
threadFromRoot: function(root) {
|
||||||
return g.threads[$('.opcontainer', root).dataset.fullID];
|
return g.threads[$('.opContainer', root).dataset.fullID];
|
||||||
},
|
},
|
||||||
threadFromNode: function(node) {
|
threadFromNode: function(node) {
|
||||||
return Get.threadFromRoot($.x('ancestor::div[@class="thread"]', node));
|
return Get.threadFromRoot($.x('ancestor::div[@class="thread"]', node));
|
||||||
|
|||||||
@ -6067,7 +6067,7 @@
|
|||||||
return "/" + thread.board + "/ - " + excerpt;
|
return "/" + thread.board + "/ - " + excerpt;
|
||||||
},
|
},
|
||||||
threadFromRoot: function(root) {
|
threadFromRoot: function(root) {
|
||||||
return g.threads[$('.opcontainer', root).dataset.fullID];
|
return g.threads[$('.opContainer', root).dataset.fullID];
|
||||||
},
|
},
|
||||||
threadFromNode: function(node) {
|
threadFromNode: function(node) {
|
||||||
return Get.threadFromRoot($.x('ancestor::div[@class="thread"]', node));
|
return Get.threadFromRoot($.x('ancestor::div[@class="thread"]', node));
|
||||||
|
|||||||
@ -8,7 +8,7 @@ Get =
|
|||||||
excerpt = "#{excerpt[...67]}..."
|
excerpt = "#{excerpt[...67]}..."
|
||||||
"/#{thread.board}/ - #{excerpt}"
|
"/#{thread.board}/ - #{excerpt}"
|
||||||
threadFromRoot: (root) ->
|
threadFromRoot: (root) ->
|
||||||
g.threads[$('.opcontainer', 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) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user