Less characters.
You could always send PRs, @Nami-Doc
This commit is contained in:
parent
4cf7e55301
commit
06464b1bb7
@ -81,7 +81,7 @@ Header =
|
|||||||
if /^toggle-all/.test t
|
if /^toggle-all/.test t
|
||||||
a = $.el 'a',
|
a = $.el 'a',
|
||||||
className: 'show-board-list-button'
|
className: 'show-board-list-button'
|
||||||
textContent: if m = t.match /-text:"(.+)"/ then m[1] else '+'
|
textContent: (t.match(/-text:"(.+)"/) || [null, '+'])[1]
|
||||||
href: 'javascript:;'
|
href: 'javascript:;'
|
||||||
$.on a, 'click', Header.toggleBoardList
|
$.on a, 'click', Header.toggleBoardList
|
||||||
return a
|
return a
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user