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