修复npc商店手机页面不适配问题

This commit is contained in:
woohoo 2021-12-11 16:14:11 +08:00
parent 28363bd87a
commit 5bb8ada426

View File

@ -1,8 +1,8 @@
// ==UserScript==
// @lastmodified 202112111523
// @lastmodified 202112111613
// @name Torn翻译
// @namespace WOOH
// @version 0.1.1211a
// @version 0.1.1211b
// @description Torn UI翻译
// @author Woohoo-[2687093] sabrina_devil[2696209]
// @match https://www.torn.com/*
@ -23,6 +23,11 @@
todo: true,
cont: `baza npc商店 imarket及imarket搜索结果`,
},
{
ver: '0.1.1211b',
date: '20211211',
cont: `修复npc商店手机页面不适配问题`,
},
{
ver: '0.1.1211a',
date: '20211211',
@ -3615,7 +3620,7 @@
});
// 展开的物品详情
initOB($wrapper, {childList: true, subtree: true}, () => {
const $item_desc = $wrapper.querySelector('.show-item-info');
const $item_desc = $wrapper.querySelector('.show-item-info') || $wrapper.querySelector('.view-item-info');
showItemInfoTrans($item_desc);
});
// [卖出部分]