Less characters.

You could always send PRs, @Nami-Doc
This commit is contained in:
Nicolas Stepien 2013-04-08 10:19:13 +02:00
parent 4cf7e55301
commit 06464b1bb7

View File

@ -81,7 +81,7 @@ Header =
if /^toggle-all/.test t
a = $.el 'a',
className: 'show-board-list-button'
textContent: if m = t.match /-text:"(.+)"/ then m[1] else '+'
textContent: (t.match(/-text:"(.+)"/) || [null, '+'])[1]
href: 'javascript:;'
$.on a, 'click', Header.toggleBoardList
return a