1
0
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:
8chan 2015-02-16 16:25:39 -08:00
parent 15987f919f
commit 9c1a90aa26

View File

@ -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]) {