diff options
author | Andrew Dolgov <[email protected]> | 2019-03-07 10:38:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-07 10:38:50 +0300 |
commit | cf6f867febacceafb7c4cbc8ad991c2d0e802ade (patch) | |
tree | 5c8c5bf44d001a79d99d7d16367cac2e8c3e5859 /js/Headlines.js | |
parent | d876cca22a7a44e5f9b48881695db6c48c1808eb (diff) |
getRange: handle start == stop
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-x | js/Headlines.js | 3 |
1 files changed, 3 insertions, 0 deletions
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; |