mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
print: disable arrow navigation #294
This commit is contained in:
parent
ec964b93f0
commit
d12227fbd5
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue