@everymatrix/casino-header-controller 1.22.10 → 1.22.11
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/casino-header-controller",
|
3
|
-
"version": "1.22.
|
3
|
+
"version": "1.22.11",
|
4
4
|
"main": "dist/casino-header-controller.js",
|
5
5
|
"svelte": "src/index.ts",
|
6
6
|
"scripts": {
|
@@ -37,5 +37,5 @@
|
|
37
37
|
"publishConfig": {
|
38
38
|
"access": "public"
|
39
39
|
},
|
40
|
-
"gitHead": "
|
40
|
+
"gitHead": "1ec5c9d222dc5546dc0ef485ea93807daa2bb50c"
|
41
41
|
}
|
@@ -100,7 +100,7 @@
|
|
100
100
|
window.postMessage({type: 'OpenLoginRegisterModal', transition: 'Login' }, window.location.href);
|
101
101
|
|
102
102
|
//Analytics event
|
103
|
-
if(typeof gtag == 'function'){
|
103
|
+
if (typeof gtag == 'function'){
|
104
104
|
gtag('event', 'OpenLoginModal', {
|
105
105
|
'context': 'HeaderController'
|
106
106
|
});
|
@@ -112,7 +112,7 @@
|
|
112
112
|
window.postMessage({type: 'OpenLoginRegisterModal', transition: 'Register'}, window.location.href);
|
113
113
|
|
114
114
|
//Analytics event
|
115
|
-
if(typeof gtag == 'function'){
|
115
|
+
if (typeof gtag == 'function'){
|
116
116
|
gtag('event', 'OpenRegisterModal', {
|
117
117
|
'context': 'HeaderController'
|
118
118
|
});
|
@@ -131,7 +131,7 @@
|
|
131
131
|
window.postMessage({type: 'GoToDeposit'}, window.location.href);
|
132
132
|
|
133
133
|
//Analytics event
|
134
|
-
if(typeof gtag == 'function'){
|
134
|
+
if (typeof gtag == 'function'){
|
135
135
|
gtag('event', 'GoToDeposit', {
|
136
136
|
'context': 'HeaderController'
|
137
137
|
});
|
@@ -266,6 +266,7 @@
|
|
266
266
|
|
267
267
|
const getHeaderMenusData = (url:any):Promise<any> => {
|
268
268
|
isLoading = true;
|
269
|
+
window.postMessage({ type: 'HeaderHeight', headerHeight: customStylingContainer.clientHeight }, window.location.href);
|
269
270
|
return new Promise((resolve, reject) => {
|
270
271
|
fetch(url)
|
271
272
|
.then((res: any) => res.json())
|