From 2411dffa2ce997370a636ed56cc73bcc4661ec7f Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Wed, 7 Mar 2018 15:17:35 +0100 Subject: Change config to camel case with backwards compatibility This refactors the configs a bit to now use camel case everywhere. This change should help to clean up the config interface and make it better understandable. Signed-off-by: Sheogorath --- public/views/hackmd/header.ejs | 4 ++-- public/views/shared/signin-modal.ejs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'public') diff --git a/public/views/hackmd/header.ejs b/public/views/hackmd/header.ejs index b87f21fa..e179f171 100644 --- a/public/views/hackmd/header.ejs +++ b/public/views/hackmd/header.ejs @@ -70,7 +70,7 @@
  • <%= __('Raw HTML') %>
  • - <% if(typeof allowpdfexport !== 'undefined' && allowpdfexport) {%> + <% if(typeof allowPDFExport !== 'undefined' && allowPDFExport) {%>
  • PDF (Beta)
  • <% } %> @@ -176,7 +176,7 @@
  • <%= __('Raw HTML') %>
  • - <% if(typeof allowpdfexport !== 'undefined' && allowpdfexport) {%> + <% if(typeof allowPDFExport !== 'undefined' && allowPDFExport) {%>
  • PDF (Beta)
  • <% } %> diff --git a/public/views/shared/signin-modal.ejs b/public/views/shared/signin-modal.ejs index ce01c739..82b5cf1f 100644 --- a/public/views/shared/signin-modal.ejs +++ b/public/views/shared/signin-modal.ejs @@ -94,7 +94,7 @@
    - <% if(allowemailregister) { %><% }%> + <% if(allowEmailRegister) { %><% }%>
    -- cgit v1.2.3