ElEditors, Interface administrators, Administrators
70,857
edits
No edit summary |
No edit summary |
||
Line 344: | Line 344: | ||
var link = $(this).find('.skill-wrap > .skill-wrap-text a:not(.image)').attr('href'); | var link = $(this).find('.skill-wrap > .skill-wrap-text a:not(.image)').attr('href'); | ||
if (link.length) window.location.href = link; | if (link.length) window.location.href = link; | ||
}); | |||
$('.related-skills [data-type="table-row"]').each(function () { | |||
var cell = $(this).find('[data-type="table-cell"]'); | |||
var count_in_row = cell.length / 2; | |||
if (count_in_row > 4) { | |||
var overflow_elems = cell.slice(8, count_in_row * 2); | |||
if ($(this).next().attr('data-type') != 'table-row') $(this).after('<div data-type="table-row">'); | |||
$(this).next().append(overflow_elems); | |||
} | |||
}); | }); | ||
Line 385: | Line 395: | ||
$('.tabber-list-toggle img').toggleClass('back'); | $('.tabber-list-toggle img').toggleClass('back'); | ||
$('.dungeon-map .tabber-vertical .tabber-ul').toggleClass('list-hidden'); | $('.dungeon-map .tabber-vertical .tabber-ul').toggleClass('list-hidden'); | ||
}); | }); | ||