Merge pull request #602 from hedgedoc/fix/really-remove-pdf-export

Remove reference to nonexisting DOM element
This commit is contained in:
Yannick Bungers 2020-11-27 20:33:27 +01:00 committed by GitHub
commit f7c4aa4b77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()