mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-24 20:14:35 -04:00
Hide Dropbox and Google Drive in Import/ Export when disabled
This commit is contained in:
parent
fa50745a8d
commit
d7648e9cea
5 changed files with 43 additions and 12 deletions
|
@ -71,8 +71,12 @@
|
|||
<script src="<%- url %>/vendor/md-toc.js" defer></script>
|
||||
<script src="<%- url %>/vendor/showup/showup.js" defer></script>
|
||||
<script src="<%- url %>/vendor/randomColor.js" defer></script>
|
||||
<% if(dropbox) { %>
|
||||
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="change this" async defer></script>
|
||||
<% } %>
|
||||
<% if(googleDrive) { %>
|
||||
<script src="https://www.google.com/jsapi" defer></script>
|
||||
<% } %>
|
||||
<script src="<%- url %>/js/google-drive-upload.js" defer></script>
|
||||
<script src="<%- url %>/js/google-drive-picker.js" defer></script>
|
||||
<script src="<%- url %>/js/common.js" defer></script>
|
||||
|
@ -81,4 +85,6 @@
|
|||
<script src="<%- url %>/js/history.js" defer></script>
|
||||
<script src="<%- url %>/js/index.js" defer></script>
|
||||
<script src="<%- url %>/js/syncscroll.js" defer></script>
|
||||
<script src="https://apis.google.com/js/client:plusone.js?onload=onGoogleClientLoaded" defer></script>
|
||||
<% if(googleDrive) { %>
|
||||
<script src="https://apis.google.com/js/client:plusone.js?onload=onGoogleClientLoaded" defer></script>
|
||||
<% } %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue