Merge pull request #353 from marktaiwan/top-boards-title

In the top menu, adds the top 20 board's full name to the link tooltip
This commit is contained in:
Fredrick Brennan 2015-01-22 15:54:17 +08:00
commit af2a188e8e

View File

@ -25,7 +25,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')+'">'+v.uri+'</a>');
boards.push('<a href="/'+v.uri+(window.active_page === 'catalog' ? '/catalog.html' : '/index.html')+'" title="'+v.title+'">'+v.uri+'</a>');
}
})