mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +08:00
Load external services asynchronously [SCI-8937] (#5900)
This commit is contained in:
parent
42f02c36c0
commit
382a4e57ac
1 changed files with 2 additions and 3 deletions
|
@ -24,9 +24,8 @@
|
|||
|
||||
|
||||
<% if MarvinJsService.enabled? && ENV['MARVINJS_API_KEY'] %>
|
||||
<%= javascript_include_tag "https://marvinjs.chemicalize.com/v1/#{ ENV['MARVINJS_API_KEY'] }/client-settings.js",
|
||||
nonce: true %>
|
||||
<%= javascript_include_tag 'https://marvinjs.chemicalize.com/v1/client.js', nonce: true %>
|
||||
<%= javascript_include_tag "https://marvinjs.chemicalize.com/v1/#{ ENV['MARVINJS_API_KEY'] }/client-settings.js", nonce: true, async: true %>
|
||||
<%= javascript_include_tag 'https://marvinjs.chemicalize.com/v1/client.js', nonce: true, async: true %>
|
||||
<% end %>
|
||||
|
||||
<%= favicon_link_tag "favicon.ico" %>
|
||||
|
|
Loading…
Reference in a new issue