MediaWiki:Character-Banner.js: Difference between revisions

no edit summary
(Undo revision 910228 by Ritsu (talk))
Tag: Undo
No edit summary
 
Line 123: Line 123:
         $('.char-banner-tree[data-base=' + base_name + ']').css('display', 'grid');
         $('.char-banner-tree[data-base=' + base_name + ']').css('display', 'grid');
         global_tree = base_name;
         global_tree = base_name;
         global_display_tree = $(this).parent()[0].dataset.displayBase;
         global_display_tree = $(this).parents('div[data-base]')[0].dataset.displayBase;
         changeCharacterLink($(this).parent()[0]);
         changeCharacterLink($(this).parent()[0]);
     });
     });