From 22d2efa2899d12c8bff01e58dcea623336411107 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 28 Jul 2018 16:16:16 -0700 Subject: [PATCH] Add 'event' to toggle_hoverzoom header for firefox's benefit. --- frontends/etiquette_flask/templates/photo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index 719caaf..2e14a22 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -357,7 +357,7 @@ function disable_hoverzoom() photo_img_holder.onmousemove = null; //photo_img_holder.onclick = null; } -function toggle_hoverzoom() +function toggle_hoverzoom(event) { if (photo_img.style.opacity === "0") {