Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

giphy: Remove old comment.

Aman Agrawal5cd2b0ed86df
diff --git a/web/src/giphy.js b/web/src/giphy.js
index d38bad02072..75b1a0e8b55 100644
--- a/web/src/giphy.js
+++ b/web/src/giphy.js
@@ -157,12 +157,6 @@ async function update_grid_with_search_term() {
export function hide_giphy_popover() {
// Returns `true` if the popover was open.
if (giphy_popover_instance) {
- // We need to destroy the popover because when
- // we hide it, bootstrap popover
- // library removes `giphy-content` element
- // as part of cleaning up everything inside
- // `popover-content`, so we need to reinitialize
- // the popover by destroying it.
giphy_popover_instance.destroy();
giphy_popover_instance = undefined;
edit_message_id = undefined;