From 6d44ded2693bcc6685f6399a22694f1cd6f321b0 Mon Sep 17 00:00:00 2001 From: Christoph (Sheogorath) Kern Date: Wed, 16 May 2018 01:31:50 +0200 Subject: Revert "Workaround Google API problems" --- public/views/hackmd/header.ejs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'public') diff --git a/public/views/hackmd/header.ejs b/public/views/hackmd/header.ejs index 8fe7f5c9..e179f171 100644 --- a/public/views/hackmd/header.ejs +++ b/public/views/hackmd/header.ejs @@ -32,11 +32,13 @@
  • <%= __('Slide Mode') %>
  • - <% if((typeof github !== 'undefined' && github) || (typeof dropbox !== 'undefined' && dropbox) || (typeof gitlab !== 'undefined' && gitlab && (!gitlab.scope || gitlab.scope === 'api'))) { %> + <% if((typeof github !== 'undefined' && github) || (typeof dropbox !== 'undefined' && dropbox) || (typeof google !== 'undefined' && google) || (typeof gitlab !== 'undefined' && gitlab && (!gitlab.scope || gitlab.scope === 'api'))) { %>
  • Dropbox
  • +
  • Google Drive +
  • <% if(typeof github !== 'undefined' && github) { %>
  • Gist
  • @@ -50,6 +52,8 @@
  • Dropbox
  • +
  • Google Drive +
  • Gist
  • <% if(typeof gitlab !== 'undefined' && gitlab && (!gitlab.scope || gitlab.scope === 'api')) { %> @@ -139,6 +143,8 @@
  • Dropbox
  • +
  • Google Drive +
  • <% if(typeof github !== 'undefined' && github) { %>
  • Gist
  • @@ -152,6 +158,8 @@
  • Dropbox
  • +
  • Google Drive +
  • Gist
  • <% if(typeof gitlab !== 'undefined' && gitlab && (!gitlab.scope || gitlab.scope === 'api')) { %> -- cgit v1.2.3