Change upload routine, add upload popup

This commit is contained in:
Romulus Urakagi Tsai 2019-12-24 08:57:34 +00:00
parent 6cdd464f54
commit 93337c20f8
5 changed files with 56 additions and 13 deletions

View file

@ -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 = [];