summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorhoijui2019-10-22 17:12:47 +0200
committerhoijui2019-10-30 17:46:04 +0100
commit47009805b3e0cf3dd59999900f81e6a638868e35 (patch)
treeba47560b98f844b90f366355c3f091a873a6b5bb /public/js
parent95aa0ee47b1927c45e81322dd64bed9c308eb40c (diff)
linkifyHeaderStyle needs no string-ification; is already str.
Co-Authored-By: Yukai Huang <yukaihuangtw@gmail.com> Signed-off-by: hoijui <hoijui.quaero@gmail.com>
Diffstat (limited to 'public/js')
-rw-r--r--public/js/lib/common/constant.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/lib/common/constant.ejs b/public/js/lib/common/constant.ejs
index bbcb8c7a..114a9077 100644
--- a/public/js/lib/common/constant.ejs
+++ b/public/js/lib/common/constant.ejs
@@ -5,6 +5,6 @@ window.version = '<%- version %>'
window.allowedUploadMimeTypes = <%- JSON.stringify(allowedUploadMimeTypes) %>
-window.linkifyHeaderStyle = <%- JSON.stringify(linkifyHeaderStyle) %>
+window.linkifyHeaderStyle = '<%- linkifyHeaderStyle %>'
window.DROPBOX_APP_KEY = '<%- DROPBOX_APP_KEY %>'