From b0e2577fd5528a31daae45cd5289d058ee707069 Mon Sep 17 00:00:00 2001 From: David Mehren Date: Fri, 27 Nov 2020 19:24:19 +0100 Subject: Remove reference to nonexisting DOM element This was missed in #596 and breaks the frontend JS. Signed-off-by: David Mehren --- public/js/index.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'public/js') 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() -- cgit v1.2.3