summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/js/slide.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/js/slide.js b/public/js/slide.js
index 59a352ec..1eb8dfd4 100644
--- a/public/js/slide.js
+++ b/public/js/slide.js
@@ -14,6 +14,7 @@ window.lastchangetime = window.lastchangeui.time.attr('data-updatetime')
updateLastChange()
const url = window.location.pathname
$('.ui-edit').attr('href', `${url}/edit`)
+$('.ui-print').attr('href', `${url}?print-pdf`)
$(document).ready(() => {
// tooltip