Fix typo in windows.getLastFocused (#277)
This commit is contained in:
parent
82e7361567
commit
0da87398b4
@ -30,7 +30,7 @@ export async function mostRecentBrowser(incognito: boolean): Promise<any> {
|
|||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
try {
|
try {
|
||||||
window = await windows.getlastFocused();
|
window = await windows.getLastFocused();
|
||||||
if (window.type !== "normal") {
|
if (window.type !== "normal") {
|
||||||
throw new Error("not a normal window");
|
throw new Error("not a normal window");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user