mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +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 = [];
|
var emb = [];
|
||||||
for (var i = 0; i < embeds.length; i++) {
|
for (var i = 0; i < embeds.length; i++) {
|
||||||
var disembed = embeds[i];
|
var disembed = embeds[i];
|
||||||
if (disembed.type != "rich") {
|
if ($.inArray(disembed.type, ["rich", "link", "video"]) == -1) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
disembed.toRenderFooter = false;
|
disembed.toRenderFooter = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user