@everymatrix/player-active-bonuses 0.0.399 → 0.0.401

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-active-bonuses",
3
- "version": "0.0.399",
3
+ "version": "0.0.401",
4
4
  "main": "dist/player-active-bonuses",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "863d8e5a7c2dbb42ec688b5c165c7cc727b86a42"
39
+ "gitHead": "b3bbda8a314a8c6a5f05d45b471a2995556e9fad"
40
40
  }
@@ -145,6 +145,7 @@
145
145
  }
146
146
 
147
147
  const closeBonusModal = () => {
148
+ window.postMessage({ type: 'EnableScroll'}, window.location.href);
148
149
  bonusModal = false;
149
150
  }
150
151
 
@@ -165,7 +166,7 @@
165
166
  .then((res:any) => {
166
167
  if (res.status == 200) {
167
168
  getActiveBonuses(0);
168
- bonusModal = false;
169
+ closeBonusModal();
169
170
  } else {
170
171
  // Error
171
172
  }