12 lines
332 B
CoffeeScript
Executable File
12 lines
332 B
CoffeeScript
Executable File
ThreadExcerpt =
|
|
init: ->
|
|
return if g.VIEW isnt 'thread' or !Conf['Thread Excerpt']
|
|
|
|
Thread.callbacks.push
|
|
name: 'Thread Excerpt'
|
|
cb: @node
|
|
node: -> d.title = Get.threadExcerpt @
|
|
disconnect: ->
|
|
return if g.VIEW isnt 'thread' or !Conf['Thread Excerpt']
|
|
Thread.callbacks.disconnect 'Thread Excerpt'
|