Skip to content

Commit

Permalink
v4.3.12: fix search in pf2e
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPrimate committed Aug 7, 2024
1 parent e02a7eb commit f43b54a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog


# [4.3.12]

- When using the compendium search functions in pf2e right click on actor would fail.

# [4.3.11]

- When bypassing Tokenizer to use the Filepicker, s3 paths would not open location properly.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tokenizer",
"version": "4.3.11",
"version": "4.3.12",
"license": "MIT",
"scripts": {
"lint": "npx eslint src/",
Expand Down
1 change: 1 addition & 0 deletions src/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ Hooks.on("getCompendiumDirectoryEntryContext", (html, contextOptions) => {
condition: (li) => {
const pack = $(li).attr("data-pack");
const compendium = game.packs.get(pack);
if (!compendium) return false;
const isActor = compendium.metadata.type === "Actor";
return isActor;
},
Expand Down

0 comments on commit f43b54a

Please sign in to comment.