小镇提示错误修复

This commit is contained in:
woohoo 2021-12-24 17:15:34 +08:00
parent a4b91dcc96
commit d64bcb682a
2 changed files with 11 additions and 4 deletions

View File

@ -1,8 +1,8 @@
// ==UserScript== // ==UserScript==
// @lastmodified 202112241711 // @lastmodified 202112241715
// @name Torn翻译 // @name Torn翻译
// @namespace WOOH // @namespace WOOH
// @version 0.1.1224b // @version 0.1.1224c
// @description Torn UI翻译 // @description Torn UI翻译
// @author Woohoo-[2687093] sabrina_devil[2696209] // @author Woohoo-[2687093] sabrina_devil[2696209]
// @match https://www.torn.com/* // @match https://www.torn.com/*
@ -23,6 +23,11 @@
todo: true, todo: true,
cont: `baza npc商店 imarket及imarket搜索结果`, cont: `baza npc商店 imarket及imarket搜索结果`,
}, },
{
ver: '0.1.1224c',
date: '20211224',
cont: `小镇提示错误修复`,
},
{ {
ver: '0.1.1224b', ver: '0.1.1224b',
date: '20211224', date: '20211224',
@ -5561,9 +5566,10 @@ margin: 0 0 3px;
e.target.blur(); e.target.blur();
}; };
$clear_btn.onclick = e => { $clear_btn.onclick = e => {
e.target.blur();
dropHist = {}; dropHist = {};
$tbody.innerHTML = ''; $tbody.innerHTML = '';
e.target.blur(); localStorage.setItem('wh-loot-store', JSON.stringify(dropHist));
}; };
$blink.onchange = e => { $blink.onchange = e => {
if (e.target.checked) { if (e.target.checked) {

View File

@ -101,9 +101,10 @@
e.target.blur(); e.target.blur();
}; };
$clear_btn.onclick = e => { $clear_btn.onclick = e => {
e.target.blur();
dropHist = {}; dropHist = {};
$tbody.innerHTML = ''; $tbody.innerHTML = '';
e.target.blur(); localStorage.setItem('wh-loot-store', JSON.stringify(dropHist));
}; };
$blink.onchange = e => { $blink.onchange = e => {
if (e.target.checked) { if (e.target.checked) {