Skip to content

Commit

Permalink
Fix - error on trying to remove class on undefined when dragging toke…
Browse files Browse the repository at this point in the history
…ns mutliple times quickly
  • Loading branch information
Azmoria committed Feb 25, 2025
1 parent 83bec90 commit aed59df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Token.js
Original file line number Diff line number Diff line change
Expand Up @@ -2824,7 +2824,7 @@ class Token {
pauseCursorEventListener = false;
setTimeout(() => {
if(!window.DRAGGING){
window.dragSelectedTokens.removeClass("pause_click")
window.dragSelectedTokens?.removeClass("pause_click")
delete window.playerTokenAuraIsLight;
delete window.dragSelectedTokens;
delete window.orig_zoom;
Expand Down

0 comments on commit aed59df

Please sign in to comment.