@thefittingroom/shop-ui 1.4.28 → 1.4.30
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/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +2 -2
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* thefittingroom v1.4.
|
|
2
|
+
* thefittingroom v1.4.30 (2024-08-14T18:33:59.799Z)
|
|
3
3
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
function loadImageRecursive(imageURL, imageURLs) {
|
|
@@ -26303,8 +26303,6 @@ const NoAvatarModal = () => {
|
|
|
26303
26303
|
|
|
26304
26304
|
const ScanCodeModal = (props) => {
|
|
26305
26305
|
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
26306
|
-
if (!isMobile)
|
|
26307
|
-
document.getElementById('tfr-sign-in-nav').style.marginBottom = '0';
|
|
26308
26306
|
const onSignInNav = () => {
|
|
26309
26307
|
props.onSignInNav();
|
|
26310
26308
|
};
|
|
@@ -26316,6 +26314,8 @@ const ScanCodeModal = (props) => {
|
|
|
26316
26314
|
};
|
|
26317
26315
|
const onHook = () => {
|
|
26318
26316
|
var _a, _b, _c;
|
|
26317
|
+
if (!isMobile)
|
|
26318
|
+
document.getElementById('tfr-sign-in-nav').style.marginBottom = '0';
|
|
26319
26319
|
(_a = document.getElementById('tfr-sign-in-nav')) === null || _a === void 0 ? void 0 : _a.addEventListener('click', onSignInNav);
|
|
26320
26320
|
(_b = document.getElementById('tfr-app-store')) === null || _b === void 0 ? void 0 : _b.addEventListener('click', onCtaClickApple);
|
|
26321
26321
|
(_c = document.getElementById('tfr-google-play')) === null || _c === void 0 ? void 0 : _c.addEventListener('click', onCtaClickGoogle);
|