This commit is contained in:
Nicolas Stepien 2013-04-08 10:02:02 +02:00
parent 2e8146a92f
commit e5012d6b44
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
- Added possibility to combine board-list toggle and custom text.
- Fix Thread Hiding initialization error.
# 3.0.0 - *2013-04-07*

View File

@ -78,10 +78,10 @@ Header =
nodes = text.match(/[\w@]+(-(all|title|full|index|catalog|text:"[^"]+"))*|[^\w@]+/g).map (t) ->
if /^[^\w@]/.test t
return $.tn t
if t is 'toggle-all'
if /^toggle-all/.test t
a = $.el 'a',
className: 'show-board-list-button'
textContent: '+'
textContent: if m = t.match /-text:"(.+)"/ then m[1] else '+'
href: 'javascript:;'
$.on a, 'click', Header.toggleBoardList
return a