Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
list_cursor: Avoid tracebacks.
Steve Howelld4fc28cf423d
diff --git a/static/js/list_cursor.js b/static/js/list_cursor.jsindex 249c11ee8a5..82e0907ab82 100644--- a/static/js/list_cursor.js+++ b/static/js/list_cursor.js@@ -48,7 +48,7 @@ const list_cursor = function (opts) {force_render: true,});- if (li.length === 0) {+ if (!li || li.length === 0) {return;}