From d12227fbd54d11cbda77adbaba7403b8bda58bf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 3 Jul 2022 13:31:08 +0200 Subject: [PATCH] print: disable arrow navigation #294 --- static/js/theme.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/theme.js b/static/js/theme.js index ae7d8b6209..cece560751 100644 --- a/static/js/theme.js +++ b/static/js/theme.js @@ -291,6 +291,10 @@ function initCodeClipboard(){ } function initArrowNav(){ + if( isPrint ){ + return; + } + // button navigation jQuery(function() { jQuery('a.nav-prev').click(function(){