Fix alt+click to watch thread highlighting catalog thumbnail in Firefox.
This commit is contained in:
parent
6227627f95
commit
0e383113b9
@ -84,6 +84,9 @@ ThreadWatcher =
|
||||
return unless e.button is 0 and e.altKey
|
||||
ThreadWatcher.toggle @thread
|
||||
e.preventDefault()
|
||||
$.on @nodes.thumb.parentNode, 'mousedown', (e) ->
|
||||
# Prevent highlighting thumbnail in Firefox.
|
||||
e.preventDefault() if e.button is 0 and e.altKey
|
||||
|
||||
ready: ->
|
||||
$.off d, '4chanXInitFinished', ThreadWatcher.ready
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user