mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 10:45:44 +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); } ```