From 9d8a38f3240bbcf8734d0860db5a6ad1e19562a8 Mon Sep 17 00:00:00 2001 From: Justin Reynolds Date: Thu, 22 Aug 2019 16:05:41 -0500 Subject: Fixes #2638 importing trello --- client/lib/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/lib/popup.js') diff --git a/client/lib/popup.js b/client/lib/popup.js index 6c294d32..8095fbd2 100644 --- a/client/lib/popup.js +++ b/client/lib/popup.js @@ -67,7 +67,7 @@ window.Popup = new (class { title: self._getTitle(popupName), depth: self._stack.length, offset: self._getOffset(openerElement), - dataContext: (this.currentData && this.currentData()) || this, + dataContext: (this && this.currentData && this.currentData()) || this, }); // If there are no popup currently opened we use the Blaze API to render -- cgit v1.2.3-1-g7c22