diff --git a/module.json b/module.json index 7bfe7b9..5594d9e 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "tabbed-chatlog", "title": "Tabbed Chatlog", "description": "Splits the Chatlog into In Character (per scene), Rolls (per scene), and Out of Character (global).", - "version": "1.1.1", + "version": "1.1.2", "minimumCoreVersion": "0.6.2", "compatibleCoreVersion": "0.6.0", "author": "Cody Swendrowski ", diff --git a/tabbed-chatlog.js b/tabbed-chatlog.js index b997dec..38953cb 100644 --- a/tabbed-chatlog.js +++ b/tabbed-chatlog.js @@ -61,7 +61,7 @@ Hooks.on("renderChatLog", async function(chatLog, html, user) { $(".type1").show(); $(".type2").hide(); $(".type3").hide(); - $(".type3").removeClass("hardHide"); + $(".type4").removeClass("hardHide"); $(".type4").show(); $(".type5").hide(); @@ -70,6 +70,8 @@ Hooks.on("renderChatLog", async function(chatLog, html, user) { else { console.log("Unknown tab " + tab + "!"); } + + $("#chat-log").scrollTop(9999999); } }); console.log(html[0]);