From cf6f867febacceafb7c4cbc8ad991c2d0e802ade Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 7 Mar 2019 10:38:50 +0300 Subject: [PATCH] getRange: handle start == stop --- js/Headlines.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/Headlines.js b/js/Headlines.js index 6609c4bbf..f15d68f0e 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -1001,6 +1001,9 @@ define(["dojo/_base/declare"], function (declare) { } }, getRange: function (start, stop) { + if (start == stop) + return [start]; + const rows = $$("#headlines-frame > div[id*=RROW]"); const results = []; let collecting = false;