From ec3af0d754a02411146adcb3d3f17e66ef5391a8 Mon Sep 17 00:00:00 2001 From: Yash Saravgi Date: Mon, 25 Jan 2021 09:28:05 +0530 Subject: [PATCH] minor fix --- openlibrary/templates/books/custom_carousel.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openlibrary/templates/books/custom_carousel.html b/openlibrary/templates/books/custom_carousel.html index 4ade203743f7..1d69e2a4efa8 100644 --- a/openlibrary/templates/books/custom_carousel.html +++ b/openlibrary/templates/books/custom_carousel.html @@ -33,7 +33,10 @@ $if lazy: $ img_attr = 'data-lazy' $ data_url = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=' + $ src_attr = 'src' $else: + $ data_url = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=' + $ src_attr = 'data-src' $ img_attr = 'src'