mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 00:09:39 +08: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); } ```