diff --git a/torn-trans-zhcn.user.js b/torn-trans-zhcn.user.js index 5ee48ad..d9d1d66 100644 --- a/torn-trans-zhcn.user.js +++ b/torn-trans-zhcn.user.js @@ -1,8 +1,8 @@ // ==UserScript== -// @lastmodified 202112241711 +// @lastmodified 202112241715 // @name Torn翻译 // @namespace WOOH -// @version 0.1.1224b +// @version 0.1.1224c // @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.1224c', + date: '20211224', + cont: `小镇提示错误修复`, + }, { ver: '0.1.1224b', date: '20211224', @@ -5561,9 +5566,10 @@ margin: 0 0 3px; e.target.blur(); }; $clear_btn.onclick = e => { + e.target.blur(); dropHist = {}; $tbody.innerHTML = ''; - e.target.blur(); + localStorage.setItem('wh-loot-store', JSON.stringify(dropHist)); }; $blink.onchange = e => { if (e.target.checked) { diff --git a/torn-wh-show-loot-pos.user.js b/torn-wh-show-loot-pos.user.js index 220aa49..f34570e 100644 --- a/torn-wh-show-loot-pos.user.js +++ b/torn-wh-show-loot-pos.user.js @@ -101,9 +101,10 @@ e.target.blur(); }; $clear_btn.onclick = e => { + e.target.blur(); dropHist = {}; $tbody.innerHTML = ''; - e.target.blur(); + localStorage.setItem('wh-loot-store', JSON.stringify(dropHist)); }; $blink.onchange = e => { if (e.target.checked) {