|
@@ -77,7 +77,7 @@ export const goBlankPage = async (handler: Function | string, target = "_self")
|
|
|
const isSafariMobileBrowser =
|
|
|
/Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent);
|
|
|
|
|
|
- if (isFunHanlder && target === "_blank" && isSafariMobileBrowser) {
|
|
|
+ if (handler && target === "_blank" && isSafariMobileBrowser) {
|
|
|
newTab = window.open("about:blank");
|
|
|
}
|
|
|
let href = "";
|