Skip to content

Commit c02379c

Browse files
authored
Merge v1.1.0 into master (#81)
* Update spell listeners for new release * Bump version to v1.1.0
1 parent 63ede51 commit c02379c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "VTT Bridge",
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"description": "Connect Dungeon Master's Vault to Roll20.",
66
"icons": {
77
"48": "icons/48.png",

src/dispatch/expandSpell.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { classes, onElementLoad } from "../common";
44
export const addExpandSpellListeners = (store) => onElementLoad(".details-columns tr.spell", () => ready(store));
55

66
const ready = (store) => {
7-
const pointers = document.querySelector(".details-columns").querySelectorAll(".pointer.orange");
7+
let pointers = document.querySelector(".details-columns").querySelectorAll(".spell.pointer");
8+
// TOOD: remove orange pointers in the next release.
9+
pointers = [...pointers, ...document.querySelector(".details-columns").querySelectorAll(".pointer.orange")];
810

911
for (const pointer of pointers) {
1012
pointer.addEventListener("click", function () {

0 commit comments

Comments
 (0)