Skip to content

Commit

Permalink
v8.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Oct 30, 2022
1 parent 33d3d8f commit d4e2f17
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

18 changes: 3 additions & 15 deletions demo/main.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
const Gleap = window.Gleap;

Gleap.preFillForm({
"description": "This is a pre-fill test.",
"userId": "1233"
});

//Gleap.setFrameUrl("http://0.0.0.0:3001");
//Gleap.setApiUrl("http://0.0.0.0:9000");
Gleap.initialize("KProDXhMS0V3UUku2iNnrZ4XsBnAYzxt");
Gleap.setFrameUrl("http://0.0.0.0:3001");
Gleap.setApiUrl("http://0.0.0.0:9000");
Gleap.initialize("ogWhNhuiZcGWrva5nlDS8l7a78OfaLlV");
//Gleap.setEnvironment("dev");


Gleap.identify("user_1933333283", {
name: "Luki",
email: "[email protected]",
value: 199
});

Gleap.attachCustomData({
mission: "Unicorn",
type: "Demo App",
Expand Down
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": "8.2.3",
"version": "8.2.4",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
1 change: 1 addition & 0 deletions published/8.2.4/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.

2 changes: 1 addition & 1 deletion src/GleapFrameManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default class GleapFrameManager {
}

isOpened() {
return this.widgetOpened;
return this.widgetOpened || this.markerManager != null;
}

autoWhiteListCookieManager = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/UI.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const injectStyledCSS = (
}
.gleap-frame-container--survey-full .gleap-frame-container-inner {
max-width: 500px !important;
max-width: 540px !important;
width: calc(100% - 24px);
border-radius: ${borderRadius}px;
overflow: hidden;
Expand Down

0 comments on commit d4e2f17

Please sign in to comment.