update deps
This commit is contained in:
@@ -66,7 +66,7 @@ export async function openOcrTextInNewTab(options) {
|
||||
if (popupAvailable) {
|
||||
try {
|
||||
popup.opener = null;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
}
|
||||
@@ -83,7 +83,7 @@ export async function openOcrTextInNewTab(options) {
|
||||
if (popupAvailable) {
|
||||
try {
|
||||
popup.location.replace(url);
|
||||
} catch (navigationError) {
|
||||
} catch {
|
||||
try {
|
||||
popup.location.href = url;
|
||||
} catch (secondError) {
|
||||
@@ -96,7 +96,7 @@ export async function openOcrTextInNewTab(options) {
|
||||
if (finalWindow) {
|
||||
try {
|
||||
finalWindow.opener = null;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
/* ignore */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user