Release v.29

This commit is contained in:
chylex 2020-12-20 02:07:20 +01:00
parent 1977c9c961
commit 8c825aeb86
4 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name Discord History Tracker
// @version v.28
// @version v.29
// @license MIT
// @namespace https://chylex.com
// @homepageURL https://dht.chylex.com/
@ -140,13 +140,13 @@ var DISCORD = (function(){
channelListEle = document.getElementById("channels");
var channel = channelListEle.querySelector("[class*='modeSelected']").parentElement;
var props = DISCORD.getReactProps(channel);
var props = DISCORD.getReactProps(channel).children.props;
if (!props){
return null;
}
var channelObj = props.children.props.channel;
var channelObj = props.channel || props.children().props.channel;
if (!channelObj){
return null;
@ -594,7 +594,7 @@ ${radio("asm", "pause", "Pause Tracking")}
${radio("asm", "switch", "Switch to Next Channel")}
<p id='dht-cfg-note'>
It is recommended to disable link and image previews to avoid putting unnecessary strain on your browser.<br><br>
<sub>v.28, released 29 Nov 2020</sub>
<sub>v.29, released 20 Dec 2020</sub>
</p>`);
// elements

File diff suppressed because one or more lines are too long

View File

@ -8,8 +8,8 @@ import os
import re
import distutils.dir_util
VERSION_SHORT = "v.28"
VERSION_FULL = VERSION_SHORT + ", released 29 Nov 2020"
VERSION_SHORT = "v.29"
VERSION_FULL = VERSION_SHORT + ", released 20 Dec 2020"
EXEC_UGLIFYJS_WIN = "{2}/lib/uglifyjs.cmd --parse bare_returns --compress --mangle toplevel --mangle-props keep_quoted,reserved=[{3}] --output \"{1}\" \"{0}\""
EXEC_UGLIFYJS_AUTO = "uglifyjs --parse bare_returns --compress --mangle toplevel --mangle-props keep_quoted,reserved=[{3}] --output \"{1}\" \"{0}\""