mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 16:23:18 +00:00
Avoid erroring if the front object is undefined.
This commit is contained in:
parent
f1a36919f9
commit
12233a23c9
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
- if (settings.overleaf && settings.front.chat_room_id != null)
|
||||
- if (settings.overleaf && settings.front && settings.front.chat_room_id != null)
|
||||
script.
|
||||
window.FCSP = '#{settings.front.chat_room_id}';
|
||||
script(src="https://chat-assets.frontapp.com/v1/chat.bundle.js")
|
Loading…
Reference in a new issue