1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-25 07:37:46 +02:00

Merge pull request #1514 from b3nj5m1n/add_check_support_windowid

Added check for system supporting window id
This commit is contained in:
Dimitri Witkowski 2020-05-22 21:48:06 +02:00 committed by GitHub
commit 08a0f6e587
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ const AutoType = {
);
return callback(false, activeWindowInfo);
}
if (activeWindowInfo.url !== windowInfo.url) {
if (activeWindowInfo.url !== windowInfo.url && !this.supportsEventsWithWindowId) {
logger.info(
`Active window doesn't match: url is different. ` +
`Expected "${windowInfo.url}", got "${activeWindowInfo.url}"`