Changelog.

This commit is contained in:
Nicolas Stepien 2011-06-25 00:21:31 +02:00
parent 5431fd5311
commit 254f0057fb
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
- mayhem: - mayhem:
- custom hotkey binding - custom hotkey binding
- image spoiler revealer
- aeosynth: - aeosynth:
- keep options dialog at constant size - keep options dialog at constant size
- drop firefox 3.6 support (again...) - drop firefox 3.6 support (again...)

View File

@ -1469,7 +1469,7 @@ revealSpoilers =
g.callbacks.push revealSpoilers.cb.node g.callbacks.push revealSpoilers.cb.node
cb: cb:
node: (root) -> 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 'height'
img.removeAttribute 'width' img.removeAttribute 'width'
[_, board, nb] = img.parentNode.href.match /(\w+)\/src\/(\d+)/ [_, board, nb] = img.parentNode.href.match /(\w+)\/src\/(\d+)/