Skip to content

Commit

Permalink
Scroll to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
Toon324 committed Jul 15, 2020
1 parent 1f17074 commit 7992e56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",
Expand Down
4 changes: 3 additions & 1 deletion tabbed-chatlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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]);
Expand Down

0 comments on commit 7992e56

Please sign in to comment.