From 51e06e68a7937bdaadde4bca2572e4473baefc82 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 26 Jun 2017 14:40:48 +0200 Subject: [PATCH] don't change slides when navigating through history --- www/common/common-history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/common-history.js b/www/common/common-history.js index 9f417197e..b8c874847 100644 --- a/www/common/common-history.js +++ b/www/common/common-history.js @@ -225,7 +225,7 @@ define([ if (e.which === 33) { p(); return render(getNext(10)); } // PageUp if (e.which === 34) { p(); return render(getPrevious(10)); } // PageUp if (e.which === 27) { p(); $close.click(); } - }).focus(); + }).keyup(function (e) { e.stopPropagation(); }).focus(); $cur.on('change', function () { render( get($cur.val() - 1) ); });