From 889d85e2512754a9ee724df8b6a4c1f470e3a2e2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 14 Apr 2021 21:35:20 +0300 Subject: remove holder.js because it calls requestAnimationFrame constantly for some reason --- js/app.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'js') diff --git a/js/app.js b/js/app.js index c977879..f2774f2 100644 --- a/js/app.js +++ b/js/app.js @@ -149,13 +149,8 @@ const App = { img.attr("src", null); }) .attr("src", e.attr('data-cover-link')); - } else { - e.attr('src', 'holder.js/130x190?auto=yes').fadeIn(); } }); - - /* global Holder */ - Holder.run(); }, toggleFavorite: function(elem) { const bookId = elem.getAttribute("data-book-id"); @@ -554,7 +549,6 @@ const App = { .fadeIn(); } else { cell - .find("img").attr("data-src", 'holder.js/130x190?auto=yes') .fadeIn(); } @@ -567,8 +561,6 @@ const App = { .attr("href", "offline.html?query=" + encodeURIComponent(info.author_sort)); books.append(cell); - - Holder.run(); } }); } -- cgit v1.2.3