mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Add some front-end debugging changes
(imported from commit 21684b09100bc0a24372948a9417c973709c1be2)
This commit is contained in:
@@ -173,6 +173,10 @@ MessageList.prototype = {
|
||||
{table_name: this.table_name, id: id});
|
||||
}
|
||||
|
||||
if (closest_id === -1) {
|
||||
blueslip.fatal("Cannot select id -1", {table_name: this.table_name});
|
||||
}
|
||||
|
||||
id = closest_id;
|
||||
opts.id = id;
|
||||
this._selected_id = id;
|
||||
|
||||
Reference in New Issue
Block a user