diff --git a/module.json b/module.json index 8b8ab3e..4666cc8 100644 --- a/module.json +++ b/module.json @@ -4,7 +4,7 @@ "description": "Adds a button to the token hover HUD to toggle the spotlight for Daggerheart.", "url": "https://git.geeks.gay/cosmo/dh-token-spotlight", "manifest": "https://git.geeks.gay/cosmo/dh-token-spotlight/raw/branch/main/module.json", - "download": "https://git.geeks.gay/cosmo/dh-token-spotlight/releases/download/1.0.0/dh-token-spotlight.zip", + "download": "https://git.geeks.gay/cosmo/dh-token-spotlight/releases/download/1.0.1/dh-token-spotlight.zip", "version": "1.0.0", "compatibility": { "minimum": "13", diff --git a/scripts/main.js b/scripts/main.js index 8b2ee9d..78e49e6 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -20,11 +20,11 @@ Hooks.on('renderTokenHUD', (app, html, data) => { `; // Append to the right column of the Token HUD - const colRight = html.find('.col.right'); + const colRight = $(html).find('.col.right'); colRight.append(buttonHtml); // Add click listener - html.find('[data-action="toggle-spotlight"]').click(async event => { + $(html).find('[data-action="toggle-spotlight"]').click(async event => { event.preventDefault(); event.stopPropagation();