diff --git a/files/assets/js/bootstrap.js b/files/assets/js/bootstrap.js
index 8edef480ec..3ca8f95a87 100644
--- a/files/assets/js/bootstrap.js
+++ b/files/assets/js/bootstrap.js
@@ -134,7 +134,6 @@ function expandDesktopImage(url) {
if (!url) url = e.target.src
}
document.getElementById("desktop-expanded-image").src = url.replace("200w_d.webp", "giphy.webp");
- document.getElementById("desktop-expanded-image-link").href = url;
document.getElementById("desktop-expanded-image-wrap-link").href = url;
bootstrap.Modal.getOrCreateInstance(document.getElementById('expandImageModal')).show();
};
diff --git a/files/templates/expanded_image_modal.html b/files/templates/expanded_image_modal.html
index 6ad5cc0028..33a1e6629f 100644
--- a/files/templates/expanded_image_modal.html
+++ b/files/templates/expanded_image_modal.html
@@ -7,9 +7,6 @@
-