Single mouseout binding.
This commit is contained in:
parent
d430055abb
commit
9416f74ae3
@ -2006,7 +2006,6 @@
|
|||||||
if ($.config('Quote Preview')) {
|
if ($.config('Quote Preview')) {
|
||||||
$.bind(link, 'mouseover', quotePreview.mouseover);
|
$.bind(link, 'mouseover', quotePreview.mouseover);
|
||||||
$.bind(link, 'mousemove', ui.hover);
|
$.bind(link, 'mousemove', ui.hover);
|
||||||
$.bind(link, 'mouseout', ui.hoverend);
|
|
||||||
$.bind(link, 'mouseout', quotePreview.mouseout);
|
$.bind(link, 'mouseout', quotePreview.mouseout);
|
||||||
}
|
}
|
||||||
if ($.config('Quote Inline')) {
|
if ($.config('Quote Inline')) {
|
||||||
@ -2142,7 +2141,6 @@
|
|||||||
}
|
}
|
||||||
$.bind(quote, 'mouseover', quotePreview.mouseover);
|
$.bind(quote, 'mouseover', quotePreview.mouseover);
|
||||||
$.bind(quote, 'mousemove', ui.hover);
|
$.bind(quote, 'mousemove', ui.hover);
|
||||||
$.bind(quote, 'mouseout', ui.hoverend);
|
|
||||||
_results.push($.bind(quote, 'mouseout', quotePreview.mouseout));
|
_results.push($.bind(quote, 'mouseout', quotePreview.mouseout));
|
||||||
}
|
}
|
||||||
return _results;
|
return _results;
|
||||||
@ -2150,8 +2148,9 @@
|
|||||||
mouseout: function() {
|
mouseout: function() {
|
||||||
var el;
|
var el;
|
||||||
if (el = d.getElementById(this.hash.slice(1))) {
|
if (el = d.getElementById(this.hash.slice(1))) {
|
||||||
return $.removeClass(el, 'qphl');
|
$.removeClass(el, 'qphl');
|
||||||
}
|
}
|
||||||
|
return ui.hoverend();
|
||||||
},
|
},
|
||||||
mouseover: function(e) {
|
mouseover: function(e) {
|
||||||
var el, id, qp, quote, replyID, threadID, _i, _len, _ref;
|
var el, id, qp, quote, replyID, threadID, _i, _len, _ref;
|
||||||
|
|||||||
@ -1580,7 +1580,6 @@ quoteBacklink =
|
|||||||
if $.config 'Quote Preview'
|
if $.config 'Quote Preview'
|
||||||
$.bind link, 'mouseover', quotePreview.mouseover
|
$.bind link, 'mouseover', quotePreview.mouseover
|
||||||
$.bind link, 'mousemove', ui.hover
|
$.bind link, 'mousemove', ui.hover
|
||||||
$.bind link, 'mouseout', ui.hoverend
|
|
||||||
$.bind link, 'mouseout', quotePreview.mouseout
|
$.bind link, 'mouseout', quotePreview.mouseout
|
||||||
if $.config 'Quote Inline'
|
if $.config 'Quote Inline'
|
||||||
$.bind link, 'click', quoteInline.toggle
|
$.bind link, 'click', quoteInline.toggle
|
||||||
@ -1663,10 +1662,10 @@ quotePreview =
|
|||||||
continue unless quote.hash
|
continue unless quote.hash
|
||||||
$.bind quote, 'mouseover', quotePreview.mouseover
|
$.bind quote, 'mouseover', quotePreview.mouseover
|
||||||
$.bind quote, 'mousemove', ui.hover
|
$.bind quote, 'mousemove', ui.hover
|
||||||
$.bind quote, 'mouseout', ui.hoverend
|
|
||||||
$.bind quote, 'mouseout', quotePreview.mouseout
|
$.bind quote, 'mouseout', quotePreview.mouseout
|
||||||
mouseout: ->
|
mouseout: ->
|
||||||
$.removeClass el, 'qphl' if el = d.getElementById @hash[1..]
|
$.removeClass el, 'qphl' if el = d.getElementById @hash[1..]
|
||||||
|
ui.hoverend()
|
||||||
mouseover: (e) ->
|
mouseover: (e) ->
|
||||||
id = @hash[1..]
|
id = @hash[1..]
|
||||||
qp = $ '#qp'
|
qp = $ '#qp'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user