mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
If parent element for range does not exists, range calculator should
return empty array. In that case duration calculations will stop because
of:
```
if (_rangeElements(element).length === 2) {
opts.duration = _calculateDuration(element);
}
```