Fix #1082.
This commit is contained in:
parent
41f4142aef
commit
f1b6647475
@ -1,3 +1,5 @@
|
||||
- Fix quote previews getting 'stuck' in Opera.
|
||||
|
||||
### 3.3.1 - *2013-05-04*
|
||||
|
||||
- Fix whitespaces not being preserved in code tags in /g/.
|
||||
|
||||
@ -28,6 +28,21 @@ QuotePreview =
|
||||
cb: QuotePreview.mouseout
|
||||
asapTest: -> qp.firstElementChild
|
||||
|
||||
<% if (type === 'userjs') { %>
|
||||
# XXX Opera workaround for "no mouseout fired" bug.
|
||||
# Remove it once Opera uses Blink.
|
||||
root = @
|
||||
workaround = (e) ->
|
||||
if @ is root
|
||||
e.stopPropagation()
|
||||
return
|
||||
$.event 'mouseout', null, root
|
||||
$.off d, 'mousemove', workaround
|
||||
$.off root, 'mousemove', workaround
|
||||
$.on d, 'mousemove', workaround
|
||||
$.on root, 'mousemove', workaround
|
||||
<% } %>
|
||||
|
||||
return unless origin = g.posts["#{boardID}.#{postID}"]
|
||||
|
||||
if Conf['Quote Highlighting']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user