Remove reference to nonexisting DOM element

This was missed in #596 and breaks the frontend JS.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-11-27 19:24:19 +01:00
parent 61f54db63e
commit b0e2577fd5
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -941,8 +941,6 @@ ui.toolbar.download.rawhtml.click(function (e) {
e.stopPropagation() e.stopPropagation()
exportToRawHTML(ui.area.markdown) exportToRawHTML(ui.area.markdown)
}) })
// pdf
ui.toolbar.download.pdf.attr('download', '').attr('href', noteurl + '/pdf')
// export to dropbox // export to dropbox
ui.toolbar.export.dropbox.click(function (event) { ui.toolbar.export.dropbox.click(function (event) {
event.preventDefault() event.preventDefault()