// 合戦向けサイドボックス
function sideboxChange() {
if (!options.sidebox_change) {
return;
}
var $sidebox = $('#sideboxMain');
var $substatus_btn = $('#substatus_btn');
- var $sideBox = $sidebox.find('DIV.sideBox');
- var $sideBoxInner = $sidebox.find('DIV.sideBoxInner');
+ var $sideBox = $sidebox.find('DIV.sideBox:not(:has(img[alt="派閥"]))');
+ var $sideBoxInner = $substatus_btn.parents('div.sideBox').find('DIV.sideBoxInner');