mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-14 18:11:23 +01:00
Add support for both link and video embeds as rich embeds
This commit is contained in:
parent
ef4ab4e83c
commit
2e71200843
@ -905,7 +905,7 @@
|
||||
var emb = [];
|
||||
for (var i = 0; i < embeds.length; i++) {
|
||||
var disembed = embeds[i];
|
||||
if (disembed.type != "rich") {
|
||||
if ($.inArray(disembed.type, ["rich", "link", "video"]) == -1) {
|
||||
continue;
|
||||
}
|
||||
disembed.toRenderFooter = false;
|
||||
|
Loading…
Reference in New Issue
Block a user