diff options
author | 2021-08-13 00:45:01 +0530 | |
---|---|---|
committer | 2021-08-13 00:45:01 +0530 | |
commit | 2d27d5e66649d4f5baf127a53ee5ae524eae3a59 (patch) | |
tree | c592ea219ac8cd987fc367f57b54034c450ab2ab /src/models/UserAgent.js | |
parent | Ferdi v5.6.0 (diff) | |
parent | 5.6.1-nightly.24 [skip ci] (diff) | |
download | ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.tar.gz ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.tar.zst ferdium-app-2d27d5e66649d4f5baf127a53ee5ae524eae3a59.zip |
chore: merge from nightly branch into release branch in prep for next beta
Diffstat (limited to 'src/models/UserAgent.js')
-rw-r--r-- | src/models/UserAgent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/UserAgent.js b/src/models/UserAgent.js index 6f91d4ed0..930ae19ef 100644 --- a/src/models/UserAgent.js +++ b/src/models/UserAgent.js | |||
@@ -95,10 +95,10 @@ export default class UserAgent { | |||
95 | _addWebviewEvents(webview) { | 95 | _addWebviewEvents(webview) { |
96 | debug('Adding event handlers'); | 96 | debug('Adding event handlers'); |
97 | 97 | ||
98 | this._willNavigateListener = event => this._handleNavigate(event.url, true); | 98 | this._willNavigateListener = (event) => this._handleNavigate(event.url, true); |
99 | webview.addEventListener('will-navigate', this._willNavigateListener); | 99 | webview.addEventListener('will-navigate', this._willNavigateListener); |
100 | 100 | ||
101 | this._didNavigateListener = event => this._handleNavigate(event.url); | 101 | this._didNavigateListener = (event) => this._handleNavigate(event.url); |
102 | webview.addEventListener('did-navigate', this._didNavigateListener); | 102 | webview.addEventListener('did-navigate', this._didNavigateListener); |
103 | } | 103 | } |
104 | 104 | ||