Let mouse wheel adjust volume anywhere in reformatted file info, not just in first link which may not be filename.
This commit is contained in:
parent
43ba4c6a89
commit
b17541bdeb
@ -61,8 +61,8 @@ Volume =
|
|||||||
|
|
||||||
node: ->
|
node: ->
|
||||||
return unless @board.ID in ['gif', 'wsg'] and @file?.isVideo
|
return unless @board.ID in ['gif', 'wsg'] and @file?.isVideo
|
||||||
$.on @file.thumb, 'wheel', Volume.wheel.bind(Header.hover)
|
$.on @file.thumb, 'wheel', Volume.wheel.bind(Header.hover)
|
||||||
$.on $('a', @file.text), 'wheel', Volume.wheel.bind(@file.thumbLink)
|
$.on ($('.file-info', @file.text) or @file.link), 'wheel', Volume.wheel.bind(@file.thumbLink)
|
||||||
|
|
||||||
catalogNode: ->
|
catalogNode: ->
|
||||||
{file} = @thread.OP
|
{file} = @thread.OP
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user