mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
remove obsolete comment
This commit is contained in:
parent
a6bcfac597
commit
c9f79343ef
@ -239,7 +239,6 @@ export class TilesCollection extends BaseObservableList {
|
|||||||
|
|
||||||
getTileIndex(searchTile) {
|
getTileIndex(searchTile) {
|
||||||
const idx = sortedIndex(this._tiles, searchTile, (searchTile, tile) => {
|
const idx = sortedIndex(this._tiles, searchTile, (searchTile, tile) => {
|
||||||
// negate result because we're switching the order of the params
|
|
||||||
return searchTile.compare(tile);
|
return searchTile.compare(tile);
|
||||||
});
|
});
|
||||||
const foundTile = this._tiles[idx];
|
const foundTile = this._tiles[idx];
|
||||||
|
Loading…
Reference in New Issue
Block a user