Skip to content

Commit

Permalink
Merge pull request #2939 from Azmoria/Beta---fix-PR-merge-conflict-mi…
Browse files Browse the repository at this point in the history
…staken-removal-of-force-close

Beta - fix PR merge conflict mistaken removal of force close note
  • Loading branch information
Azmoria authored Feb 24, 2025
2 parents 3cd8e59 + f3c509e commit d4f4450
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Journal.js
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,18 @@ class JournalManager{
});

visibility_container.append(popup_btn);

let force_close_popup_btn=$("<button>Force Closed by Players</button>")

force_close_popup_btn.click(function(){
window.MB.sendMessage('custom/myVTT/note',{
id: id,
note:self.notes[id],
popup: false,
});
});

visibility_container.append(force_close_popup_btn);

let edit_btn=$("<button>Edit</button>");
edit_btn.click(function(){
Expand Down

0 comments on commit d4f4450

Please sign in to comment.