diff options
Diffstat (limited to '')
-rw-r--r-- | public/views/foot.ejs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 9cd4ba03..15eff6e1 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -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>
\ No newline at end of file +<% if(googleDrive) { %> +<script src="https://apis.google.com/js/client:plusone.js?onload=onGoogleClientLoaded" defer></script> +<% } %> |