[mirotalksfu] - change chat a-href color
هذا الالتزام موجود في:
@@ -445,6 +445,12 @@ body {
|
|||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.msg-a {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.msg-a:hover {
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
#chat-msg-a {
|
#chat-msg-a {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2357,7 +2357,7 @@ class RoomClient {
|
|||||||
if (this.isHtml(message)) return this.stripHtml(message);
|
if (this.isHtml(message)) return this.stripHtml(message);
|
||||||
if (this.isValidHttpURL(message)) {
|
if (this.isValidHttpURL(message)) {
|
||||||
if (isImageURL(message)) return '<img src="' + message + '" alt="img" width="180" height="auto"/>';
|
if (isImageURL(message)) return '<img src="' + message + '" alt="img" width="180" height="auto"/>';
|
||||||
return '<a href="' + message + '" target="_blank">' + message + '</a>';
|
return '<a href="' + message + '" target="_blank" class="msg-a">' + message + '</a>';
|
||||||
}
|
}
|
||||||
if (isChatMarkdownOn) return marked.parse(message);
|
if (isChatMarkdownOn) return marked.parse(message);
|
||||||
let pre = '<pre>' + message + '</pre>';
|
let pre = '<pre>' + message + '</pre>';
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم