Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Jan 4, 2023
1 parent 38751e0 commit 8fee7a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions demo/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Gleap = window.Gleap;

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

Gleap.attachCustomData({
Expand Down Expand Up @@ -31,15 +31,6 @@ Gleap.log("Test log err", "ERROR");

Gleap.trackEvent("Master Event");

Gleap.identify("9292929292", {
name: "John Doe",
email: "[email protected]",
customData: {
yyy: "xxx",
penis: true
}
});

// Register custom action.
Gleap.registerCustomAction((customAction) => {
console.log("Custom action called:");
Expand Down
2 changes: 1 addition & 1 deletion src/UI.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const injectStyledCSS = (
right: ${buttonX}px;
bottom: ${69 + buttonY}px;
width: calc(100% - 40px);
max-width: 420px;
max-width: 400px;
position: fixed;
z-index: ${zIndexBase + 31};
visibility: visible;
Expand Down

0 comments on commit 8fee7a3

Please sign in to comment.