From 55a1ba0699c77ecfea2d2f2cefa6fae9ff0c289d Mon Sep 17 00:00:00 2001
From: Jannik Lorenz
Date: Sat, 23 Apr 2016 14:34:15 +0200
Subject: Fix google drive config
---
public/views/header.ejs | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'public/views')
diff --git a/public/views/header.ejs b/public/views/header.ejs
index aeadb043..0c7f6e17 100644
--- a/public/views/header.ejs
+++ b/public/views/header.ejs
@@ -33,13 +33,13 @@
Slide Mode
- <% if(googleDrive || googleDrive || github) { %>
+ <% if((googleDrive == "true") || (typeof dropbox !== 'undefined' && dropbox) || (typeof github !== 'undefined' && github)) { %>
<% if(typeof dropbox !== 'undefined' && dropbox) { %>
Dropbox
<% } %>
- <% if(typeof googleDrive !== 'undefined' && googleDrive) { %>
+ <% if(googleDrive == "true") { %>
Google Drive
<% } %>
@@ -54,7 +54,7 @@
Dropbox
<% } %>
- <% if(typeof googleDrive !== 'undefined' && googleDrive) { %>
+ <% if(googleDrive == "true") { %>
Google Drive
<% } %>
@@ -128,13 +128,13 @@
Slide Mode
- <% if(googleDrive || googleDrive || github) { %>
+ <% if((googleDrive == "true") || (typeof dropbox !== 'undefined' && dropbox) || (typeof github !== 'undefined' && github)) { %>
<% if(typeof dropbox !== 'undefined' && dropbox) { %>
Dropbox
<% } %>
- <% if(typeof googleDrive !== 'undefined' && googleDrive) { %>
+ <% if(googleDrive == "true") { %>
Google Drive
<% } %>
@@ -149,7 +149,7 @@
Dropbox
<% } %>
- <% if(typeof googleDrive !== 'undefined' && googleDrive) { %>
+ <% if(googleDrive == "true") { %>
Google Drive
<% } %>
--
cgit v1.2.3