diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-05-24 03:13:53 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-05-24 03:13:53 +0300 |
commit | 055b5285328f495203a7e225fdecd04bcf5c8b32 (patch) | |
tree | 361621362801c5409a08d60f45ebedb9f1cf9c02 /client/lib/popup.js | |
parent | fda392e662a842aa7e686ce13870c8adb35c35ab (diff) | |
parent | 921460db4031134db863e32101c0ad60a17416b5 (diff) | |
download | wekan-055b5285328f495203a7e225fdecd04bcf5c8b32.tar.gz wekan-055b5285328f495203a7e225fdecd04bcf5c8b32.tar.bz2 wekan-055b5285328f495203a7e225fdecd04bcf5c8b32.zip |
Merge branch 'lib-change' of https://github.com/PDIS/wekan into
PDIS-lib-change
Diffstat (limited to 'client/lib/popup.js')
-rw-r--r-- | client/lib/popup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/lib/popup.js b/client/lib/popup.js index 8095fbd2..cae22659 100644 --- a/client/lib/popup.js +++ b/client/lib/popup.js @@ -49,7 +49,7 @@ window.Popup = new (class { // has one. This allows us to position a sub-popup exactly at the same // position than its parent. let openerElement; - if (clickFromPopup(evt)) { + if (clickFromPopup(evt) && self._getTopStack()) { openerElement = self._getTopStack().openerElement; } else { self._stack = []; |