It just werx
This commit is contained in:
NoneGiven 2013-08-22 19:38:58 -04:00 committed by Mayhem
parent 16db343318
commit cb498db8df
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
- **New feature**: `Color user IDs`, enabled by default
- **New feature**: `Color User IDs`, enabled by default
## 3.10.0 - *2013-08-22*

View File

@ -50,7 +50,7 @@ Config =
'Thread Excerpt': [true, 'Show an excerpt of the thread in the tab title.']
'Thread Stats': [true, 'Display reply, image, and page count.']
'Thread Watcher': [true, 'Bookmark threads.']
'Color user IDs': [true, 'Assign unique colors to user IDs on boards that use them.']
'Color User IDs': [true, 'Assign unique colors to user IDs on boards that use them.']
'Posting':
'Quick Reply': [true, 'All-in-one form to reply, create threads, automate dumping and more.']
'Persistent QR': [false, 'The Quick reply won\'t disappear after posting.']

View File

@ -107,7 +107,7 @@ Main =
initFeature 'Mark OP Quotes', QuoteOP
initFeature 'Mark Cross-thread Quotes', QuoteCT
initFeature 'Anonymize', Anonymize
initFeature 'Color user IDs', IDColor
initFeature 'Color User IDs', IDColor
initFeature 'Time Formatting', Time
initFeature 'Relative Post Dates', RelativeDates
initFeature 'File Info Formatting', FileInfo

View File

@ -1,10 +1,10 @@
IDColor =
init: ->
return if g.VIEW is 'catalog' or !Conf['Color user IDs']
return if g.VIEW is 'catalog' or !Conf['Color User IDs']
@ids = {}
Post::callbacks.push
name: 'Color user IDs'
name: 'Color User IDs'
cb: @node
node: ->