Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Fix URL typing interruption.
Browse files Browse the repository at this point in the history
  • Loading branch information
alvesjtiago committed Oct 27, 2017
1 parent a91af57 commit 2278cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/shell-window/pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ function onDomReady (e) {
if (!page.wcID) {
page.wcID = e.target.getWebContents().id // NOTE: this is a sync op
}
if (!navbar.isLocationFocused(page)) {
if (!navbar.isLocationFocused(page) && page.isActive) {
page.webviewEl.shadowRoot.querySelector('object').focus()
}
}
Expand Down

0 comments on commit 2278cd4

Please sign in to comment.