mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Move insert_syntax_and_focus() to compose_ui.js.
This change also removes a couple lines of test code that weren't really testing anything.
This commit is contained in:
@@ -656,7 +656,7 @@ exports.initialize = function () {
|
||||
var video_call_id = util.random_int(100000000000000, 999999999999999);
|
||||
var video_call_link = 'https://meet.jit.si/' + video_call_id;
|
||||
var video_call_link_text = '[' + _('Click to join video call') + '](' + video_call_link + ')';
|
||||
compose_state.insert_syntax_and_focus(video_call_link_text);
|
||||
compose_ui.insert_syntax_and_focus(video_call_link_text);
|
||||
});
|
||||
|
||||
$("#compose").on("click", "#markdown_preview", function (e) {
|
||||
|
||||
Reference in New Issue
Block a user