From 96fa7efb661d9a6aaa73096a79bf9a22eeccec9a Mon Sep 17 00:00:00 2001
From: chylex <info@chylex.com>
Date: Tue, 27 Sep 2016 21:30:34 +0200
Subject: [PATCH] Fix a crash in reply-account plugin on Popout

---
 Resources/Plugins/reply-account/browser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Resources/Plugins/reply-account/browser.js b/Resources/Plugins/reply-account/browser.js
index 0977745d..488ae7c5 100644
--- a/Resources/Plugins/reply-account/browser.js
+++ b/Resources/Plugins/reply-account/browser.js
@@ -6,7 +6,7 @@ enabled(){
   this.lastSelectedAccount = null;
   
   this.uiComposeTweetEvent = (e, data) => {
-    if (data.type !== "reply"){
+    if (data.type !== "reply" || data.popFromInline || !("element" in data)){
       return;
     }