(child, parent)
| 12253 | return !!modalsStack.length; |
| 12254 | } |
| 12255 | function isChildOf(child, parent) { |
| 12256 | while (child && child != parent) { |
| 12257 | child = child.parentNode; |
| 12258 | } |
| 12259 | return !!(child == parent); |
| 12260 | } |
| 12261 | function afterPopup(box) { |
| 12262 | setTimeout(function() { |
| 12263 | if (scheduler2.$destroyed) { |