@plaidev/karte-action-sdk 1.1.185 → 1.1.186-28101835.a0da0d68
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/hydrate/index.es.js +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +1 -1
package/dist/hydrate/index.es.js
CHANGED
@@ -2831,7 +2831,7 @@ const linkTo = (to, targetBlank = true) => () => {
|
|
2831
2831
|
// # edge.js の retransmitter が送るのを待つ
|
2832
2832
|
await sleep(450);
|
2833
2833
|
}
|
2834
|
-
const isRequiredWindowOpen = target === 'native'
|
2834
|
+
const isRequiredWindowOpen = target === 'native' ? false : targetBlank;
|
2835
2835
|
if (isRequiredWindowOpen) {
|
2836
2836
|
window.open(to);
|
2837
2837
|
}
|
package/dist/index.es.js
CHANGED
@@ -2855,7 +2855,7 @@ const linkTo = (to, targetBlank = true) => () => {
|
|
2855
2855
|
// # edge.js の retransmitter が送るのを待つ
|
2856
2856
|
await sleep(450);
|
2857
2857
|
}
|
2858
|
-
const isRequiredWindowOpen = target === 'native'
|
2858
|
+
const isRequiredWindowOpen = target === 'native' ? false : targetBlank;
|
2859
2859
|
if (isRequiredWindowOpen) {
|
2860
2860
|
window.open(to);
|
2861
2861
|
}
|