diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/models/Service.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/models/Service.js b/src/models/Service.js index fd867b8a8..5ec42af80 100644 --- a/src/models/Service.js +++ b/src/models/Service.js | |||
@@ -163,7 +163,10 @@ export default class Service { | |||
163 | 163 | ||
164 | this.webview.addEventListener('did-stop-loading', () => { | 164 | this.webview.addEventListener('did-stop-loading', () => { |
165 | this.isLoading = false; | 165 | this.isLoading = false; |
166 | this.isFirstLoad = false; | 166 | |
167 | if (!this.isError) { | ||
168 | this.isFirstLoad = false; | ||
169 | } | ||
167 | }); | 170 | }); |
168 | 171 | ||
169 | this.webview.addEventListener('did-fail-load', (event) => { | 172 | this.webview.addEventListener('did-fail-load', (event) => { |