Change print button to an <a> to match the rest of the buttons

Also makes it have pointer cursor
This commit is contained in:
BBaoVanC 2023-01-22 16:28:24 -06:00
parent 9412906b4f
commit 629b3758b9
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -54,9 +54,10 @@
*/}} */}}
{{ if .Site.Params.shareButtons.print }} {{ if .Site.Params.shareButtons.print }}
<button class="print-share" <a class="print-share"
href="javascript:void(0)"
onclick="window.print(); share_event('Print');"> onclick="window.print(); share_event('Print');">
{{- partial "icon.html" "printer" -}} {{- partial "icon.html" "printer" -}}
</button> </a>
{{ end }} {{ end }}
</div> </div>