summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDavid Mehren2020-11-27 18:31:19 +0100
committerGitHub2020-11-27 18:31:19 +0100
commit61f54db63eea7e590cd751d4878d1c445c7f9cf8 (patch)
treebe3a61e1aa170556c7370b45e1792a0ba0dbbd52 /public
parent07f72adc548ab8b30c4dbcc948f7cf166fdcf0db (diff)
parent97312b5ed3db8e5967184fc2f693a47dcba091f5 (diff)
Merge pull request #596 from hedgedoc/remove-pdf-export-code
Remove pdf export code
Diffstat (limited to '')
-rw-r--r--public/js/lib/editor/ui-elements.js3
-rw-r--r--public/views/hedgedoc/header.ejs8
2 files changed, 1 insertions, 10 deletions
diff --git a/public/js/lib/editor/ui-elements.js b/public/js/lib/editor/ui-elements.js
index ce19436b..b1e3b5cb 100644
--- a/public/js/lib/editor/ui-elements.js
+++ b/public/js/lib/editor/ui-elements.js
@@ -17,8 +17,7 @@ export const getUIElements = () => ({
download: {
markdown: $('.ui-download-markdown'),
html: $('.ui-download-html'),
- rawhtml: $('.ui-download-raw-html'),
- pdf: $('.ui-download-pdf-beta')
+ rawhtml: $('.ui-download-raw-html')
},
export: {
dropbox: $('.ui-save-dropbox'),
diff --git a/public/views/hedgedoc/header.ejs b/public/views/hedgedoc/header.ejs
index f700cd5b..ecf96e42 100644
--- a/public/views/hedgedoc/header.ejs
+++ b/public/views/hedgedoc/header.ejs
@@ -66,10 +66,6 @@
</li>
<li role="presentation"><a role="menuitem" class="ui-download-raw-html" tabindex="-1" href="#" target="_self"><i class="fa fa-file-code-o fa-fw"></i> <%= __('Raw HTML') %></a>
</li>
- <% if(typeof allowPDFExport !== 'undefined' && allowPDFExport) {%>
- <li role="presentation"><a role="menuitem" class="ui-download-pdf-beta" tabindex="-1" href="#" target="_self"><i class="fa fa-file-pdf-o fa-fw"></i> PDF (Beta)</a>
- </li>
- <% } %>
<li class="divider"></li>
<li role="presentation"><a role="menuitem" class="ui-help" href="#" data-toggle="modal" data-target=".help-modal"><i class="fa fa-question-circle fa-fw"></i> Help</a>
</li>
@@ -165,10 +161,6 @@
</li>
<li role="presentation"><a role="menuitem" class="ui-download-raw-html" tabindex="-1" href="#" target="_self"><i class="fa fa-file-code-o fa-fw"></i> <%= __('Raw HTML') %></a>
</li>
- <% if(typeof allowPDFExport !== 'undefined' && allowPDFExport) {%>
- <li role="presentation"><a role="menuitem" class="ui-download-pdf-beta" tabindex="-1" href="#" target="_self"><i class="fa fa-file-pdf-o fa-fw"></i> PDF (Beta)</a>
- </li>
- <% } %>
</ul>
</li>
</ul>