Fix custom navigation on /q/.
This commit is contained in:
parent
3e5c99cd15
commit
d7407cfd94
@ -4934,7 +4934,7 @@
|
||||
if (!text) {
|
||||
return;
|
||||
}
|
||||
as = $$('#full-board-list a', Header.bar).slice(0, -2);
|
||||
as = $$('#full-board-list a', Header.bar);
|
||||
nodes = text.match(/[\w@]+(-(all|title|replace|full|index|catalog|text:"[^"]+"))*|[^\w@]+/g).map(function(t) {
|
||||
var a, board, m, _i, _len;
|
||||
|
||||
|
||||
@ -4925,7 +4925,7 @@
|
||||
if (!text) {
|
||||
return;
|
||||
}
|
||||
as = $$('#full-board-list a', Header.bar).slice(0, -2);
|
||||
as = $$('#full-board-list a', Header.bar);
|
||||
nodes = text.match(/[\w@]+(-(all|title|replace|full|index|catalog|text:"[^"]+"))*|[^\w@]+/g).map(function(t) {
|
||||
var a, board, m, _i, _len;
|
||||
|
||||
|
||||
BIN
builds/crx.crx
BIN
builds/crx.crx
Binary file not shown.
@ -4789,7 +4789,7 @@
|
||||
if (!text) {
|
||||
return;
|
||||
}
|
||||
as = $$('#full-board-list a', Header.bar).slice(0, -2);
|
||||
as = $$('#full-board-list a', Header.bar);
|
||||
nodes = text.match(/[\w@]+(-(all|title|replace|full|index|catalog|text:"[^"]+"))*|[^\w@]+/g).map(function(t) {
|
||||
var a, board, m, _i, _len;
|
||||
|
||||
|
||||
@ -122,7 +122,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)
|
||||
nodes = text.match(/[\w@]+(-(all|title|replace|full|index|catalog|text:"[^"]+"))*|[^\w@]+/g).map (t) ->
|
||||
if /^[^\w@]/.test t
|
||||
return $.tn t
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user