mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: Error calling LazyYT from chat when disabled (#20085)
This commit is contained in:
parent
33e6140179
commit
bb35274984
@ -34,7 +34,7 @@ export default {
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
if (siteSettings.lazy_yt_enabled) {
|
||||
api.decorateChatMessage(
|
||||
(element) => {
|
||||
element
|
||||
@ -47,6 +47,7 @@ export default {
|
||||
id: "lazy-yt",
|
||||
}
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
initialize(container) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user