Skip to content

Commit

Permalink
mitigate #245: don't let introjs scroll since it can't handle scrolli…
Browse files Browse the repository at this point in the history
…ng inside another element
  • Loading branch information
mdamien committed Oct 9, 2020
1 parent 8790b84 commit f6d4721
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/modules/common/tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ angular.module('theLawFactory')
nextLabel: "➡",
prevLabel: "⬅",
skipLabel: "✖",
doneLabel: "✖"
doneLabel: "✖",
scrollToElement: false,
});
introjs.onbeforechange(function (e) {
if ($(e).hasClass('div-over-svg'))
Expand Down

0 comments on commit f6d4721

Please sign in to comment.