removed reductant code
This commit is contained in:
parent
c5166574f4
commit
ea469f6995
@ -6,7 +6,7 @@
|
||||
// @namespace Violentmonkey Scripts
|
||||
// @match *://boards.4chan*.org/*/thread/*
|
||||
// @exclude *://boards.4chan*.org/*/catalog
|
||||
// @version 1.1
|
||||
// @version 1.2
|
||||
// ==/UserScript==
|
||||
|
||||
// Shortcuts: decrease size, increase size, previous image, next image, jump to the source hash (i.e. post)
|
||||
@ -110,10 +110,6 @@ const preloadImgs = async () => {
|
||||
await img.decode()
|
||||
imgs.push(img)
|
||||
}
|
||||
|
||||
if (imgs.length > 0) {
|
||||
imgElem.src = imgs[0].src
|
||||
}
|
||||
}
|
||||
|
||||
const keyUpEvent = async (e) => {
|
||||
|
Loading…
Reference in New Issue
Block a user