Simplification of the previous fix.

This commit is contained in:
Mayhem 2013-06-18 19:40:13 +02:00
parent 6d0b5f0fae
commit e053e4d0bd

View File

@ -111,7 +111,7 @@ Header =
list = $ '#custom-board-list', Header.bar
$.rmAll list
return unless text
as = $$('#full-board-list a', Header.bar)[0...-1] # ignore the Settings and Home links
as = $$ '#full-board-list a[title]', Header.bar
nodes = text.match(/[\w@]+(-(all|title|replace|full|index|catalog|text:"[^"]+"))*|[^\w@]+/g).map (t) ->
if /^[^\w@]/.test t
return $.tn t