Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
copy_and_paste: Replace deprecated jQuery.fn.bind.
Anders Kaseorg25883d7827bd
diff --git a/static/js/copy_and_paste.js b/static/js/copy_and_paste.jsindex 8707e2f5662..4376b707084 100644--- a/static/js/copy_and_paste.js+++ b/static/js/copy_and_paste.js@@ -329,7 +329,7 @@ exports.paste_handler = function (event) {};exports.initialize = function () {- $("#compose-textarea").bind("paste", exports.paste_handler);+ $("#compose-textarea").on("paste", exports.paste_handler);$("body").on("paste", "#message_edit_form", exports.paste_handler);};