Close #1433.
This commit is contained in:
parent
1d9b0d78a9
commit
bbf7abd6fa
@ -2,6 +2,8 @@
|
||||
- This merges `Mark Quotes of You`, `Mark OP Quotes` and `Mark Cross-thread Quotes` into one feature.
|
||||
- Backlinks now also get these markers.
|
||||
- Multiple markers are now more compact, for example `>>123 (You/OP)` instead of `>>123 (You) (OP)`.
|
||||
- New setting: `Image Hover in Catalog`
|
||||
- Like `Image Hover`, but for the catalog only.
|
||||
|
||||
### 3.16.5 - *2014-02-07*
|
||||
|
||||
|
||||
@ -24,6 +24,7 @@ Config =
|
||||
'Auto-GIF': [false, 'Animate GIF thumbnails (disabled on /gif/, /wsg/).']
|
||||
'Image Expansion': [true, 'Expand images inline.']
|
||||
'Image Hover': [false, 'Show a floating expanded image on hover.']
|
||||
'Image Hover in Catalog': [false, 'Show a floating expanded image on hover in the catalog.']
|
||||
'Sauce': [true, 'Add sauce links to images.']
|
||||
'Reveal Spoilers': [false, 'Reveal spoiler thumbnails.']
|
||||
'Linkification':
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
ImageHover =
|
||||
init: ->
|
||||
return if !Conf['Image Hover']
|
||||
|
||||
Post.callbacks.push
|
||||
name: 'Image Hover'
|
||||
cb: @node
|
||||
CatalogThread.callbacks.push
|
||||
name: 'Image Hover'
|
||||
cb: @catalogNode
|
||||
if Conf['Image Hover']
|
||||
Post.callbacks.push
|
||||
name: 'Image Hover'
|
||||
cb: @node
|
||||
if Conf['Image Hover in Catalog']
|
||||
CatalogThread.callbacks.push
|
||||
name: 'Image Hover'
|
||||
cb: @catalogNode
|
||||
node: ->
|
||||
return unless @file?.isImage
|
||||
$.on @file.thumb, 'mouseover', ImageHover.mouseover
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user