From 4002cc660e59882208291846e6ff31ac056fc801 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 1 May 2018 21:03:10 -0700 Subject: [PATCH] Don't use shortlink for zoom url. It breaks caching. --- 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 1e9c73c..09d8b25 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -314,7 +314,7 @@ function refresh_metadata(photoid) post(url, data, callback); } -var ZOOM_BG_URL = "url('{{photo|file_link(short=True)}}')"; +var ZOOM_BG_URL = "url('{{photo|file_link}}')"; function enable_hoverzoom(event) { //console.log("enable zoom");