summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/index.js2
-rw-r--r--public/js/lib/editor/ui-elements.js3
2 files changed, 1 insertions, 4 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 9946e6fd..92acd130 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -941,8 +941,6 @@ ui.toolbar.download.rawhtml.click(function (e) {
e.stopPropagation()
exportToRawHTML(ui.area.markdown)
})
-// pdf
-ui.toolbar.download.pdf.attr('download', '').attr('href', noteurl + '/pdf')
// export to dropbox
ui.toolbar.export.dropbox.click(function (event) {
event.preventDefault()
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'),