Skip to content

Commit

Permalink
v11.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Aug 28, 2023
1 parent 6271dd9 commit 030bdc4
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "11.1.3",
"version": "11.1.4",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
2 changes: 1 addition & 1 deletion published/11.1.2/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions published/11.1.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.

1 change: 1 addition & 0 deletions src/Gleap.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ class Gleap {
GleapFeedbackButtonManager.getInstance().toggleFeedbackButton(false);
GleapNotificationManager.getInstance().clearAllNotifications(true);
GleapSession.getInstance().clearSession(0, false);
GleapBannerManager.getInstance().removeBannerUI();
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/GleapBannerManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class GleapBannerManager {
document.body.removeChild(this.bannerContainer);
this.bannerContainer = null;
}

document.body.classList.remove("gleap-b-shown");
document.body.classList.remove("gleap-b-f");
}
Expand Down
7 changes: 3 additions & 4 deletions src/GleapSession.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GleapEventManager, GleapTranslationManager, GleapFrameManager, GleapNotificationManager, GleapStreamedEvent } from "./Gleap";
import { GleapEventManager, GleapTranslationManager, GleapFrameManager, GleapNotificationManager, GleapStreamedEvent, GleapBannerManager } from "./Gleap";
import { eraseGleapCookie, getGleapCookie, loadFromGleapCache, saveToGleapCache, setGleapCookie } from "./GleapHelper";

export default class GleapSession {
Expand Down Expand Up @@ -121,6 +121,7 @@ export default class GleapSession {
}, true);
GleapNotificationManager.getInstance().clearAllNotifications(false);
GleapNotificationManager.getInstance().setNotificationCount(0);
GleapBannerManager.getInstance().removeBannerUI();

if (retry) {
if (!isNaN(attemp)) {
Expand Down Expand Up @@ -283,9 +284,7 @@ export default class GleapSession {
try {
const sessionData = JSON.parse(http.responseText);
self.validateSession(sessionData);

// GleapNotificationManager.getInstance().clearAllNotifications(false);


// Initially track.
GleapStreamedEvent.getInstance().restart();

Expand Down

0 comments on commit 030bdc4

Please sign in to comment.