Use fullID when possible.
This commit is contained in:
parent
09642b63da
commit
7126768855
@ -16,7 +16,7 @@ class Thread
|
|||||||
@fullID = "#{@board}.#{@ID}"
|
@fullID = "#{@board}.#{@ID}"
|
||||||
@posts = {}
|
@posts = {}
|
||||||
|
|
||||||
g.threads["#{board}.#{@}"] = board.threads[@] = @
|
g.threads[@fullID] = board.threads[@] = @
|
||||||
|
|
||||||
kill: ->
|
kill: ->
|
||||||
@isDead = true
|
@isDead = true
|
||||||
@ -107,7 +107,7 @@ class Post
|
|||||||
@thread.isClosed = !!$ '.closedIcon', @nodes.info
|
@thread.isClosed = !!$ '.closedIcon', @nodes.info
|
||||||
|
|
||||||
@clones = []
|
@clones = []
|
||||||
g.posts["#{board}.#{@}"] = thread.posts[@] = board.posts[@] = @
|
g.posts[@fullID] = thread.posts[@] = board.posts[@] = @
|
||||||
@kill() if that.isArchived
|
@kill() if that.isArchived
|
||||||
|
|
||||||
parseComment: ->
|
parseComment: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user