Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mclemente committed Oct 6, 2023
1 parent b182320 commit 59fad1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Combat.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ let firstInitiative = 0;
let lastInitiative = 0;

function getInitiatives(combatTracker) {
let initiatives = $(combatTracker).find('.initiative');
let initiatives = $(combatTracker).find(".initiative");
if (!initiatives.length > 0) {
return;
}

let firstPlace = Number(initiatives[0].innerText);
let lastPlace = Number(initiatives[initiatives.length - 1].innerText);
if (firstPlace > lastPlace) {
Expand Down Expand Up @@ -38,7 +38,7 @@ class FurnaceCombatQoL {
html.find(".double-click-initiative-first a").on("click", FurnaceCombatQoL._onClickFirst);
}

TokenInitiative.find('.initiative').on("dblclick", FurnaceCombatQoL._onInitiativeDblClick)
TokenInitiative.find(".initiative").on("dblclick", FurnaceCombatQoL._onInitiativeDblClick);

if (revertButton) {
for (let combatant of html.find("#combat-tracker li.combatant")) {
Expand Down

0 comments on commit 59fad1e

Please sign in to comment.