From 67f8a64f2b1ea653b567a48ac6aa760b03c7189c Mon Sep 17 00:00:00 2001 From: Cédric Couralet Date: Wed, 7 Nov 2018 12:12:50 +0000 Subject: Fix menu for github and dropbox Signed-off-by: Cédric Couralet --- public/views/codimd/header.ejs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'public') diff --git a/public/views/codimd/header.ejs b/public/views/codimd/header.ejs index 56a42eb4..b83838ea 100644 --- a/public/views/codimd/header.ejs +++ b/public/views/codimd/header.ejs @@ -32,12 +32,12 @@
  • <%= __('Slide Mode') %>
  • - <% if((typeof github !== 'undefined' && github) || (typeof dropbox !== 'undefined' && dropbox) || enableGitlabSnippets) { %> + <% if(enableGitHubGist || enableDropBoxSave || enableGitlabSnippets) { %>
  • Dropbox
  • - <% if(typeof github !== 'undefined' && github) { %> + <% if(enableGitHubGist) { %>
  • Gist
  • <% } %> @@ -134,12 +134,12 @@
  • <%= __('Slide Mode') %>
  • - <% if((typeof github !== 'undefined' && github) || (typeof dropbox !== 'undefined' && dropbox) || enableGitlabSnippets ) { %> + <% if(enableGitHubGist || enableDropBoxSave || enableGitlabSnippets) { %>
  • Dropbox
  • - <% if(typeof github !== 'undefined' && github) { %> + <% if(enableGitHubGist) { %>
  • Gist
  • <% } %> -- cgit v1.2.3