Skip to content

Commit

Permalink
Update smalltalk.view
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ver committed Apr 4, 2024
1 parent 80f770b commit c529aa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/resources/themes/smalltalk.view
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,9 @@
function save() {
$message = $("#text").html();
image = "";
if($("#topic").text().toLowerCase().indexOf("@chatgpt")!=-1 || $message.toLowerCase().indexOf("@chatgpt")!=-1) {
if($("#topic").text().toLowerCase().indexOf("@chatgpt")!=-1) {
$message = "@ChatGPT " + $("#text").text() + "\n";

$("#text").find("img").each(function() {
image = $(this).attr("src");
});
Expand Down

0 comments on commit c529aa5

Please sign in to comment.