Merge pull request #863 from hackmdio/feature/slidePrint

Add Print icon to slide view
This commit is contained in:
Christoph (Sheogorath) Kern 2018-06-26 21:41:18 +02:00 committed by GitHub
commit c7745f6b27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 1 deletions

View file

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