Skip to content

Commit

Permalink
v13.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed May 29, 2024
1 parent ba4bbf9 commit ef60f2a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/esm/index.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gleap",
"version": "13.7.2",
"version": "13.7.3",
"main": "build/cjs/index.js",
"module": "build/esm/index.mjs",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions published/13.7.3/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion published/latest/index.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/GleapProductTours.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ export default class GleapProductTours {
function onDocumentClick(evnt) {
var gleapTourPopover = document.querySelector('.gleap-tour-popover');
if (!gleapTourPopover.contains(evnt.target)) {
const stepIndex = gleapTourObj.getActiveIndex();
const step = steps[stepIndex];

const element = gleapTourObj.getActiveElement();
if (element && element.tagName === 'INPUT') {
if ((element && element.tagName === 'INPUT') || step.mode === "INPUT") {
// Prevent.
} else {
gleapTourObj.moveNext();
Expand Down

0 comments on commit ef60f2a

Please sign in to comment.