mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 20:29:35 +02:00
Merge branch 'main' of https://github.com/danilt2000/LuckyDiamond
This commit is contained in:
@@ -23,15 +23,20 @@
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.content p {
|
||||
/* .content p {
|
||||
width: 80%;
|
||||
word-wrap: break-word;
|
||||
margin: 0 auto;
|
||||
}
|
||||
} */
|
||||
|
||||
.content p {
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
.chat__content--users {
|
||||
height: 650px;
|
||||
width: 250px;
|
||||
width: auto;
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
@@ -38,9 +38,13 @@ export function ConnectToChat() {
|
||||
|
||||
export function SendMessageToChat(message) {
|
||||
try {
|
||||
|
||||
if (!GetCookie("SpUserName") && !GetCookie("AUTHTOKEN") && !GetCookie("SearchToken")) {
|
||||
return;
|
||||
}
|
||||
|
||||
const data = {
|
||||
SpUserName: GetCookie("SpUserName"),
|
||||
SearchToken: GetCookie("SearchToken"),
|
||||
Message: message
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user