summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-06-26 21:41:18 +0200
committerGitHub2018-06-26 21:41:18 +0200
commitc7745f6b27eeefe70235417b508f27ac833ee225 (patch)
tree19149643970da0153efca793e3690cdf8cfb1da3 /public/js
parent6634fac84964d4f292599a9f368c182e6f10045c (diff)
parent04d16e4d6efa771ece8770c726beca29b9d2ca61 (diff)
Merge pull request #863 from hackmdio/feature/slidePrint
Add Print icon to slide view
Diffstat (limited to 'public/js')
-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