Skip to content

Commit

Permalink
Show sceneless IC chat when toggled
Browse files Browse the repository at this point in the history
  • Loading branch information
Toon324 committed Aug 1, 2020
1 parent 31b070c commit 06a6cac
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ Splits the Chatlog into In Character (per scene), Rolls (per scene), and Out of

Added notifications for new messages in inactive tabs.
Fixed new messages showing up incorrectly.

### v1.2.0

In Character messages without a scene attached will now show on the IC tab when toggled
4 changes: 2 additions & 2 deletions 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.3",
"version": "1.2.0",
"minimumCoreVersion": "0.6.2",
"compatibleCoreVersion": "0.6.0",
"author": "Cody Swendrowski <[email protected]>",
Expand All @@ -24,5 +24,5 @@
],
"url": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog",
"manifest": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/latest/module.json",
"download": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/1.1.3/module.zip"
"download": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/1.2.0/module.zip"
}
2 changes: 2 additions & 0 deletions tabbed-chatlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ Hooks.on("renderChatLog", async function(chatLog, html, user) {
$(".type1").hide();
$(".type2.scene" + game.user.viewedScene).removeClass("hardHide");
$(".type2.scene" + game.user.viewedScene).show();
$(".type2").not(".scenespecific").show();
$(".type3.scene" + game.user.viewedScene).removeClass("hardHide");
$(".type3.scene" + game.user.viewedScene).show();
$(".type3").not(".scenespecific").show();
$(".type4").hide();
$(".type5").hide();

Expand Down

0 comments on commit 06a6cac

Please sign in to comment.