diff --git a/static/js/click_handlers.js b/static/js/click_handlers.js
index 60c8480d0f..3428d8bedf 100644
--- a/static/js/click_handlers.js
+++ b/static/js/click_handlers.js
@@ -650,7 +650,7 @@ export function initialize() {
 
     function handle_compose_click(e) {
         // Emoji clicks should be handled by their own click handler in emoji_picker.js
-        if ($(e.target).is("#emoji_map, img.emoji, .drag, #compose_giphy_logo")) {
+        if ($(e.target).is("#emoji_map, img.emoji, .drag, .compose_giphy_logo")) {
             return;
         }
 
diff --git a/static/js/giphy.js b/static/js/giphy.js
index c14211a8d1..f1c88ec5c6 100644
--- a/static/js/giphy.js
+++ b/static/js/giphy.js
@@ -101,9 +101,9 @@ function update_grid_with_search_term() {
 
 export function initialize() {
     $("body").on("keydown", ".giphy-gif", ui_util.convert_enter_to_click);
-    $("body").on("keydown", "#compose_giphy_logo", ui_util.convert_enter_to_click);
+    $("body").on("keydown", ".compose_giphy_logo", ui_util.convert_enter_to_click);
 
-    $("body").on("click", "#compose_giphy_logo", (e) => {
+    $("body").on("click", ".compose_giphy_logo", (e) => {
         e.preventDefault();
         e.stopPropagation();
 
diff --git a/templates/zerver/app/compose.html b/templates/zerver/app/compose.html
index 0059841c2f..2dae109a88 100644
--- a/templates/zerver/app/compose.html
+++ b/templates/zerver/app/compose.html
@@ -103,7 +103,7 @@
                                     
                                     {% if giphy_api_available %}
                                     
-                                        
+                                        
                                     
                                     {% endif %}
                                     {{ _('Drafts') }}