diff options
author | Andrew Dolgov <[email protected]> | 2021-04-14 21:35:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-04-14 21:35:20 +0300 |
commit | 889d85e2512754a9ee724df8b6a4c1f470e3a2e2 (patch) | |
tree | 2d54b24da454324d6a70e2071b3c72e329065efc /js | |
parent | 691d4fb49bfe25f00d78c2192dfd3bf9254716e6 (diff) |
remove holder.js because it calls requestAnimationFrame constantly for some reason
Diffstat (limited to 'js')
-rw-r--r-- | js/app.js | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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(); } }); } |