Slight cleanup

This commit is contained in:
Oliver-Akins 2025-02-11 22:53:52 -07:00
parent 605bdb61ae
commit eb6d7fee94
2 changed files with 3 additions and 6 deletions

View file

@ -15,7 +15,7 @@ export function GenericAppMixin(HandlebarsApp) {
`ripcrypt`,
],
actions: {
roll: this._rollDice,
roll: this.#rollDice,
editItem: (_event, target) => editItemFromElement(target),
deleteItem: (_event, target) => deleteItemFromElement(target),
openRichEditor: this.#openRichEditor,
@ -60,7 +60,7 @@ export function GenericAppMixin(HandlebarsApp) {
// #region Actions
/** @this {GenericRipCryptApp} */
static async _rollDice(_event, target) {
static async #rollDice(_event, target) {
const data = target.dataset;
const diceCount = parseInt(data.diceCount);
const flavor = data.flavor;