User:Westgrass/common.js

$(document).ready(function {   $('.infobox.npc modetabs .tab.normal').on('click', function{ var $this = $(this); if($this.hasClass('current')){ return; }   	$this.parent.children.removeClass('current'); $this.addClass('current'); $this.cloest('.infobox').removeClass('c-expert c-master').addClass('c-normal'); });   $('.infobox.npc modetabs .tab.normal').on('click', function{ var $this = $(this); if($this.hasClass('current')){ return; }   	$this.parent.children.removeClass('current'); $this.addClass('current'); $this.cloest('.infobox').removeClass('c-expert c-master').addClass('c-normal'); });   $('.infobox.npc modetabs .tab.normal').on('click', function{ var $this = $(this); if($this.hasClass('current')){ return; }   	$this.parent.children.removeClass('current'); $this.addClass('current'); $this.cloest('.infobox').removeClass('c-expert c-master').addClass('c-normal'); }); });