Revert "Make 'Image Hover in Catalog' a suboption of 'Image Hover'."
This reverts commit afb1f0a57249398a2f840d6dad2a96c17b1e981a. Conflicts: src/Images/Volume.coffee
This commit is contained in:
parent
ea546ecfb8
commit
97cc25799d
@ -182,12 +182,10 @@ Config =
|
|||||||
'Image Hover in Catalog': [
|
'Image Hover in Catalog': [
|
||||||
false
|
false
|
||||||
'Show full image / video on mouseover in <%= meta.name %> catalog.'
|
'Show full image / video on mouseover in <%= meta.name %> catalog.'
|
||||||
1
|
|
||||||
]
|
]
|
||||||
'Mouse Wheel Volume': [
|
'Mouse Wheel Volume': [
|
||||||
true
|
true
|
||||||
'Adjust volume of hovering videos with mouse wheel.'
|
'Adjust volume of hovering videos with mouse wheel.'
|
||||||
1
|
|
||||||
]
|
]
|
||||||
'Gallery': [
|
'Gallery': [
|
||||||
true
|
true
|
||||||
|
|||||||
@ -1,11 +1,10 @@
|
|||||||
ImageHover =
|
ImageHover =
|
||||||
init: ->
|
init: ->
|
||||||
return unless Conf['Image Hover'] and g.VIEW in ['index', 'thread']
|
return if g.VIEW not in ['index', 'thread']
|
||||||
|
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']
|
if Conf['Image Hover in Catalog']
|
||||||
CatalogThread.callbacks.push
|
CatalogThread.callbacks.push
|
||||||
name: 'Image Hover'
|
name: 'Image Hover'
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
Volume =
|
Volume =
|
||||||
init: ->
|
init: ->
|
||||||
return unless g.VIEW in ['index', 'thread'] and
|
return unless g.VIEW in ['index', 'thread'] and
|
||||||
(Conf['Image Expansion'] or Conf['Image Hover'] or Conf['Gallery'])
|
(Conf['Image Expansion'] or Conf['Image Hover'] or Conf['Image Hover in Catalog'] or Conf['Gallery'])
|
||||||
|
|
||||||
$.sync 'Allow Sound', (x) ->
|
$.sync 'Allow Sound', (x) ->
|
||||||
Conf['Allow Sound'] = x
|
Conf['Allow Sound'] = x
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user