Skip to content

Commit

Permalink
Merge v1.1.0 into master (#81)
Browse files Browse the repository at this point in the history
* Update spell listeners for new release

* Bump version to v1.1.0
  • Loading branch information
averycrespi authored Jul 15, 2020
1 parent 63ede51 commit c02379c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "VTT Bridge",
"version": "1.0.0",
"version": "1.1.0",
"description": "Connect Dungeon Master's Vault to Roll20.",
"icons": {
"48": "icons/48.png",
Expand Down
4 changes: 3 additions & 1 deletion src/dispatch/expandSpell.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { classes, onElementLoad } from "../common";
export const addExpandSpellListeners = (store) => onElementLoad(".details-columns tr.spell", () => ready(store));

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

for (const pointer of pointers) {
pointer.addEventListener("click", function () {
Expand Down

0 comments on commit c02379c

Please sign in to comment.