Fix twitter not being selectable in Custom Navigation.

This commit is contained in:
noface 2013-06-18 15:03:48 +02:00
parent 41285b4ebd
commit 4ba431b1db

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