Hide Dropbox and Google Drive in Import/ Export when disabled
This commit is contained in:
@@ -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>
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user