mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
markdown.js: Add error function to blueslip.
If we do not add this, we get an exception before we reach the assertion.
This commit is contained in:
@@ -40,7 +40,7 @@ set_global('page_params', {
|
||||
],
|
||||
});
|
||||
|
||||
set_global('blueslip', {});
|
||||
set_global('blueslip', {error: function () {}});
|
||||
|
||||
set_global('Image', function () {
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user