diff options
author | Romulus Urakagi Tsai <urakagi@gmail.com> | 2019-12-24 08:57:34 +0000 |
---|---|---|
committer | Romulus Urakagi Tsai <urakagi@gmail.com> | 2019-12-24 08:57:34 +0000 |
commit | 93337c20f83146bb702a5af8cf9cdb37f4c53443 (patch) | |
tree | 8d40fe3b4fabd0bd2f813620f10ab56ba91f6816 /client/lib/popup.js | |
parent | 6cdd464f54fca423876a27ec2a4269ae5841cdb0 (diff) | |
download | wekan-93337c20f83146bb702a5af8cf9cdb37f4c53443.tar.gz wekan-93337c20f83146bb702a5af8cf9cdb37f4c53443.tar.bz2 wekan-93337c20f83146bb702a5af8cf9cdb37f4c53443.zip |
Change upload routine, add upload popup
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 = []; |