diff --git a/changelog b/changelog index c270dff1c..72b484b70 100644 --- a/changelog +++ b/changelog @@ -1,5 +1,6 @@ - mayhem: - custom hotkey binding + - image spoiler revealer - aeosynth: - keep options dialog at constant size - drop firefox 3.6 support (again...) diff --git a/script.coffee b/script.coffee index 1acedb184..f9a84fb42 100644 --- a/script.coffee +++ b/script.coffee @@ -1469,7 +1469,7 @@ revealSpoilers = g.callbacks.push revealSpoilers.cb.node cb: node: (root) -> - return if root.className is 'inline' or not img = $('img[alt^=Spoiler]', root) + return if root.className is 'inline' or not img = $ 'img[alt^=Spoiler]', root img.removeAttribute 'height' img.removeAttribute 'width' [_, board, nb] = img.parentNode.href.match /(\w+)\/src\/(\d+)/