Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jendave committed Mar 22, 2024
1 parent 5a16308 commit 8bb7100
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ Hooks.on('renderHeadsUpDisplay', (_app, html) => {
canvas.hud.tokenNoteHover = new TokenNoteHover();
});

// eslint-disable-next-line consistent-return
Hooks.on('hoverToken', (token, hovered) => {
if (game.settings.get(MODULE_NAME, 'enabled')) {
if (!hovered) {
Expand Down

0 comments on commit 8bb7100

Please sign in to comment.