4chan-x/src/General/lib/catalogthread.class
Zixaphir b80989fe30 Set CatalogThread.thumb back to the anchor
This fixes: Navigate.navigate, Index hover features, etc.
2015-01-12 21:35:34 -07:00

17 lines
473 B
Plaintext

class CatalogThread
@callbacks = new Callbacks 'Catalog Thread'
toString: -> @ID
constructor: (root, @thread) ->
@ID = @thread.ID
@board = @thread.board
@nodes =
root: root
thumb: $ '.thumb', root
icons: $ '.catalog-icons', root
postCount: $ '.post-count', root
fileCount: $ '.file-count', root
pageCount: $ '.page-count', root
comment: $ '.comment', root
@thread.catalogView = @