mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 04:13:49 +01:00
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) {
|
||||
$.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]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user