getRange: handle start == stop

This commit is contained in:
Andrew Dolgov 2019-03-07 10:38:50 +03:00
parent d876cca22a
commit cf6f867feb
1 changed files with 3 additions and 0 deletions

View File

@ -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;