Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
markdown: Remove unnecessary null check.
Tim Abbottc5ed782581ee
diff --git a/static/js/markdown.js b/static/js/markdown.jsindex b5d42cae2b5..02dc8a949c6 100644--- a/static/js/markdown.js+++ b/static/js/markdown.js@@ -320,7 +320,7 @@ function handleTimestamp(time) {}const escaped_time = _.escape(time);- if (timeobject === null || !isValid(timeobject)) {+ if (!isValid(timeobject)) {// Unsupported time format: rerender accordingly.// We do not show an error on these formats in local echo because