Skip to content

Commit

Permalink
Internal - undefined door erroring on context
Browse files Browse the repository at this point in the history
  • Loading branch information
Azmoria committed Oct 21, 2023
1 parent 01fe945 commit 0d08fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TokenMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function token_context_menu_expanded(tokenIds, e) {
$('body').append(tokenOptionsClickCloseDiv);


if(door.length == 1){
if(door != undefined){
if(window.DM) {

let notesRow = $(`<div class="token-image-modal-footer-select-wrapper flyout-from-menu-item"><div class="token-image-modal-footer-title">Door Note</div></div>`);
Expand Down

0 comments on commit 0d08fda

Please sign in to comment.