mirror of
https://github.com/McShelby/hugo-theme-relearn
synced 2025-04-30 20:12:03 +08:00
print: disable arrow navigation #294
This commit is contained in:
parent
ec964b93f0
commit
d12227fbd5
@ -291,6 +291,10 @@ function initCodeClipboard(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function initArrowNav(){
|
function initArrowNav(){
|
||||||
|
if( isPrint ){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// button navigation
|
// button navigation
|
||||||
jQuery(function() {
|
jQuery(function() {
|
||||||
jQuery('a.nav-prev').click(function(){
|
jQuery('a.nav-prev').click(function(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user