forked from GithubBackups/vichan
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:
commit
af2a188e8e
@ -25,7 +25,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') {
|
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>');
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user