Skip to content

Commit d8c22a6

Browse files
authored
Merge pull request #2 from sylvercode/master
Convert V13 HTML to jQuery
2 parents a314ba1 + b3cbcf4 commit d8c22a6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

module.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
"id": "token-stack-selector",
33
"title": "Token Stack Selector",
44
"description": "Interface moderna para seleção de tokens empilhados no Foundry VTT. Permite escolher facilmente entre tokens sobrepostos com um painel elegante similar ao sistema de condições.",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"authors": [
77
{
88
"name": "Sub-Dev",
99
"discord": "sub-dev"
1010
}
1111
],
12-
"esmodules": ["main.js"],
12+
"esmodules": [
13+
"main.js"
14+
],
1315
"compatibility": {
1416
"minimum": "11",
1517
"verified": "12",

src/token-stack-selector.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ export class TokenStackSelector {
7979

8080
// Adiciona botão ao HUD
8181
const button = TokenStackButton.addToHUD(
82-
html,
82+
$(html),
8383
visibleTokens.length,
84-
() => this.handleButtonClick(visibleTokens, html, button)
84+
() => this.handleButtonClick(visibleTokens, $(html), button)
8585
);
8686

8787
} catch (error) {
@@ -183,4 +183,4 @@ export class TokenStackSelector {
183183

184184
return stats;
185185
}
186-
}
186+
}

0 commit comments

Comments
 (0)