forked from GithubBackups/vichan
Move top board exceptions completely to boards.php
This commit is contained in:
parent
15987f919f
commit
9c1a90aa26
@ -24,9 +24,7 @@ if (window.Options && Options.get_tab('general')) {
|
|||||||
|
|
||||||
function handle_boards(data) {
|
function handle_boards(data) {
|
||||||
$.each(data, function(k, v) {
|
$.each(data, function(k, v) {
|
||||||
if (v.uri != 'meta' && v.uri != 'b') {
|
|
||||||
boards.push('<a href="/'+v.uri+(window.active_page === 'catalog' ? '/catalog.html' : '/index.html')+'" title="'+v.title+'">'+v.uri+'</a>');
|
boards.push('<a href="/'+v.uri+(window.active_page === 'catalog' ? '/catalog.html' : '/index.html')+'" title="'+v.title+'">'+v.uri+'</a>');
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if (boards[0]) {
|
if (boards[0]) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user