summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorDavid Mehren2020-11-27 19:24:19 +0100
committerDavid Mehren2020-11-27 19:24:43 +0100
commitb0e2577fd5528a31daae45cd5289d058ee707069 (patch)
tree99fafb9e33cd81d885f8663d14f715cc4060d414 /public/js
parent61f54db63eea7e590cd751d4878d1c445c7f9cf8 (diff)
Remove reference to nonexisting DOM element
This was missed in #596 and breaks the frontend JS. Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'public/js')
-rw-r--r--public/js/index.js2
1 files changed, 0 insertions, 2 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()