summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-14 21:35:20 +0300
committerAndrew Dolgov <[email protected]>2021-04-14 21:35:20 +0300
commit889d85e2512754a9ee724df8b6a4c1f470e3a2e2 (patch)
tree2d54b24da454324d6a70e2071b3c72e329065efc /js
parent691d4fb49bfe25f00d78c2192dfd3bf9254716e6 (diff)
remove holder.js because it calls requestAnimationFrame constantly for some reason
Diffstat (limited to 'js')
-rw-r--r--js/app.js8
1 files changed, 0 insertions, 8 deletions
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();
}
});
}