diff --git a/src/browser/index.jsx b/src/browser/index.jsx index dac3434a..07f701dc 100644 --- a/src/browser/index.jsx +++ b/src/browser/index.jsx @@ -313,7 +313,7 @@ var MattermostView = React.createClass({ webview.addEventListener('did-fail-load', function(e) { console.log(thisObj.props.name, 'webview did-fail-load', e); if (e.errorCode === -3 || // An operation was aborted (due to user action). - webview.cacheInvalidated) { //The operation was aborted to invalidate application cache + e.errorCode === -300) { //The operation was aborted to invalidate application cache return; }