Don't use shortlink for zoom url. It breaks caching.

This commit is contained in:
voussoir 2018-05-01 21:03:10 -07:00
parent 58d450a856
commit 4002cc660e

View file

@ -314,7 +314,7 @@ function refresh_metadata(photoid)
post(url, data, callback); 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) function enable_hoverzoom(event)
{ {
//console.log("enable zoom"); //console.log("enable zoom");