From 9f37c42bfbba8c67db76dace3ec3851b57347911 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Mon, 10 Apr 2017 16:09:57 -0300 Subject: [PATCH] Fixed Pushbullet login bug Fixes #185 --- app/ux/WebView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ux/WebView.js b/app/ux/WebView.js index f3da8d1e..75ac68a1 100644 --- a/app/ux/WebView.js +++ b/app/ux/WebView.js @@ -401,7 +401,7 @@ Ext.define('Rambox.ux.WebView',{ } webview.addEventListener('did-get-redirect-request', function( e ) { - if ( e.isMainFrame ) 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') !== 'pushbullet' ) 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 ) {