aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube-noscript-shim.user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-noscript-shim.user.js b/youtube-noscript-shim.user.js
index 92b189f..6468e78 100644
--- a/youtube-noscript-shim.user.js
+++ b/youtube-noscript-shim.user.js
@@ -51,7 +51,7 @@ function toggleBooleanAttributes (selector, ...attributes) {
}
// Load thumbnails
-Array.from(document.querySelectorAll("img[data-thumb]")).forEach(function (img) {
+document.querySelectorAll("img[data-thumb]").forEach(function (img) {
img.setAttribute("src", img.getAttribute("data-thumb"));
});