diff --git a/app/ux/WebView.js b/app/ux/WebView.js index d47d38c2..748561fa 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -405,7 +405,7 @@ Ext.define('Rambox.ux.WebView',{ } webview.addEventListener('did-get-redirect-request', function( e ) { - if ( e.isMainFrame && me.record.get('type') !== 'pushbullet' ) Ext.defer(function() { webview.loadURL(e.newURL); }, 1000); // Applied a defer because sometimes is not redirecting. TweetDeck 2FA is an example. + if ( e.isMainFrame && me.record.get('type') === 'tweetdeck' ) Ext.defer(function() { webview.loadURL(e.newURL); }, 1000); // Applied a defer because sometimes is not redirecting. TweetDeck 2FA is an example. }); webview.addEventListener('update-target-url', function( url ) {