Skip to content

Commit

Permalink
change position of introjs
Browse files Browse the repository at this point in the history
  • Loading branch information
patricksptang committed Oct 31, 2024
1 parent 089e831 commit 7014fe2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion step-web/src/main/webapp/js/step.util.js
Original file line number Diff line number Diff line change
Expand Up @@ -2821,11 +2821,12 @@ step.util = {
var introCount = parseInt(introCountFromStorageOrCookie, 10);
if (isNaN(introCount)) introCount = 0;
if (introCount < 1) {
var pos = (window.innerWidth > 499) ? "bottom" : "left";
var introJsSteps = [
{
element: document.querySelector('#bibleTab'),
intro: "Click on the \"Bible summary\" tab to see summary videos by the BibleProject!",
position: 'left'
position: pos
}
];
introJs().setOptions({
Expand Down

0 comments on commit 7014fe2

Please sign in to comment.