Skip to content

Commit e7db246

Browse files
committed
Update GleapConfigManager.js
1 parent 6312683 commit e7db246

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/GleapConfigManager.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ export default class GleapConfigManager {
8787
this.flowConfig = flowConfig;
8888
this.projectActions = projectActions;
8989

90-
// Send config update.
91-
GleapFrameManager.getInstance().sendConfigUpdate();
92-
GleapFeedbackButtonManager.getInstance().updateFeedbackButtonState();
93-
9490
if (flowConfig.color) {
9591
Gleap.setStyles(
9692
flowConfig.color,
@@ -103,6 +99,10 @@ export default class GleapConfigManager {
10399
);
104100
}
105101

102+
// Send config update.
103+
GleapFrameManager.getInstance().sendConfigUpdate();
104+
GleapFeedbackButtonManager.getInstance().updateFeedbackButtonState();
105+
106106
if (flowConfig.enableReplays) {
107107
GleapReplayRecorder.getInstance().start();
108108
} else {

0 commit comments

Comments
 (0)