diff options
author | Christoph (Sheogorath) Kern | 2018-06-26 21:41:18 +0200 |
---|---|---|
committer | GitHub | 2018-06-26 21:41:18 +0200 |
commit | c7745f6b27eeefe70235417b508f27ac833ee225 (patch) | |
tree | 19149643970da0153efca793e3690cdf8cfb1da3 /public/js | |
parent | 6634fac84964d4f292599a9f368c182e6f10045c (diff) | |
parent | 04d16e4d6efa771ece8770c726beca29b9d2ca61 (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.js | 1 |
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 |