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