Update static/js/02-chat.js
This commit is contained in:
parent
de82a88091
commit
a4ff63e89a
@ -693,12 +693,6 @@ Glow.buildMessage = (message, grouped = false) => {
|
|||||||
});
|
});
|
||||||
actions.append(copy);
|
actions.append(copy);
|
||||||
|
|
||||||
const bookmark = document.createElement("button");
|
|
||||||
bookmark.className = "message-action";
|
|
||||||
bookmark.type = "button";
|
|
||||||
bookmark.textContent = message.is_bookmarked ? "Saved" : "Save";
|
|
||||||
bookmark.addEventListener("click", () => Glow.toggleBookmark(message));
|
|
||||||
actions.append(bookmark);
|
|
||||||
|
|
||||||
const urls = Glow.extractUrls(message.text);
|
const urls = Glow.extractUrls(message.text);
|
||||||
if (urls.length) {
|
if (urls.length) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user