From 254f0057fb9911ee885c387266a4c8b0a76bec02 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 25 Jun 2011 00:21:31 +0200 Subject: [PATCH] Changelog. --- changelog | 1 + script.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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+)/