From f6d4721680dae2562f6b7c269d369b7a0e3b030a Mon Sep 17 00:00:00 2001 From: Damien Date: Fri, 9 Oct 2020 10:11:39 +0200 Subject: [PATCH] mitigate #245: don't let introjs scroll since it can't handle scrolling inside another element --- public/modules/common/tutorial.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/modules/common/tutorial.js b/public/modules/common/tutorial.js index 84d5d57..59d519d 100644 --- a/public/modules/common/tutorial.js +++ b/public/modules/common/tutorial.js @@ -36,7 +36,8 @@ angular.module('theLawFactory') nextLabel: "➡", prevLabel: "⬅", skipLabel: "✖", - doneLabel: "✖" + doneLabel: "✖", + scrollToElement: false, }); introjs.onbeforechange(function (e) { if ($(e).hasClass('div-over-svg'))