Merge pull request #355 from sharelatex/pr-fix-front-chat-widget-config

Update Front chat widget according to latest config changes.
This commit is contained in:
Paulo Jorge Reis 2018-02-22 15:49:32 +00:00 committed by GitHub
commit 70da6ad89a

View file

@ -1,4 +1,4 @@
- if (settings.overleaf && settings.front && settings.front.chat_room_id != null)
- if (settings.overleaf && settings.overleaf.front_chat_widget_room_id != null)
script.
window.FCSP = '#{settings.front.chat_room_id}';
window.FCSP = '#{settings.overleaf.front_chat_widget_room_id}';
script(src="https://chat-assets.frontapp.com/v1/chat.bundle.js")