Skip to content

Commit

Permalink
Converted description in front end to use chat-style
Browse files Browse the repository at this point in the history
  • Loading branch information
derekShaheen committed Apr 7, 2024
1 parent 7b27a3e commit a98d899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,8 @@ <h5 class="modal-title" id="modalLabel">Command Request</h5>
// Right-click event to display command description
button.addEventListener('contextmenu', (e) => {
e.preventDefault(); // Prevent default context menu
displayCommandDescription(titleizedCmd, cmd.Description); // Display the description
//displayCommandDescription(titleizedCmd, cmd.Description); // Display the description
displayResponse('[Server]', '', `(${titleizedCmd}) ${cmd.Description || 'No description has been provided for this command.'}`);
});

col.appendChild(button);
Expand Down

0 comments on commit a98d899

Please sign in to comment.