Changelog.
This commit is contained in:
parent
5431fd5311
commit
254f0057fb
@ -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...)
|
||||||
|
|||||||
@ -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+)/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user