Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix preview styling #36

Merged
merged 1 commit into from
Sep 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions public/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ <h1>Fullsend</h1>
<div class="row mt-5">
<div class="col">
<h2>Changelog</h2><br>
<h3>v1.6.1</h3>
<p>
Fixes message preview styling
</p>
<h3>v1.6.0</h3>
<p>
Adds group IDs to the ends of messages<br>
Expand Down
2 changes: 1 addition & 1 deletion public/js/fullsend.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const sendMessage = async () => {
const handleMessagePreview = () => {
const fsmText = document.getElementById("fullsendMessage").value.trim();
const selectedCategories = getSelectedGroupsCategories();
document.getElementById("preview").innerHTML = (fsmText == "") ? "<span style=\"color:#888\">Your preview will appear here...</span>": fsmText + "\n" + selectedCategories;
document.getElementById("preview").innerHTML = (fsmText == "") ? "<span style=\"color:#888\">Your preview will appear here...</span>": fsmText + "<br>" + selectedCategories;
};

const pageOnLoadFunctions = async () => {
Expand Down