mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed chat icons
This commit is contained in:
2
server/public/assets/dist/embed.min.js
vendored
2
server/public/assets/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
server/public/assets/dist/main.min.js
vendored
2
server/public/assets/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -116,7 +116,7 @@ var Chat = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
var icon_add = "";
|
var icon_add = "";
|
||||||
if(inp.hasOwnProperty("icon") && !inp.icon && inp.icon != "") {
|
if(inp.hasOwnProperty("icon") && inp.icon !== false && inp.icon != "") {
|
||||||
icon_add = "<img class='chat-icon' src='" + inp.icon + "' alt='" + inp.from + "'>";
|
icon_add = "<img class='chat-icon' src='" + inp.icon + "' alt='" + inp.from + "'>";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -152,7 +152,7 @@ var Chat = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var icon_add = "";
|
var icon_add = "";
|
||||||
if(data.hasOwnProperty("icon") && !data.icon && data.icon != "") {
|
if(data.hasOwnProperty("icon") && data.icon !== false && data.icon != "") {
|
||||||
icon_add = "<img class='chat-icon' src='" + data.icon + "' alt='" + data.from + "'>";
|
icon_add = "<img class='chat-icon' src='" + data.icon + "' alt='" + data.from + "'>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user