shave a line

This commit is contained in:
James Campos 2011-05-30 23:05:39 -07:00
parent 3f9affd5fc
commit bd5afd22d5
2 changed files with 3 additions and 5 deletions

View File

@ -1888,10 +1888,9 @@
},
mouseout: function() {
var el;
if (!(el = d.getElementById(this.hash.slice(1)))) {
return;
if (el = d.getElementById(this.hash.slice(1))) {
return $.removeClass(el, 'qphl');
}
return $.removeClass(el, 'qphl');
},
mouseover: function(e) {
var el, id, qp, quote, replyID, threadID, _i, _len, _ref;

View File

@ -1485,8 +1485,7 @@ quotePreview =
$.bind quote, 'mouseout', ui.hoverend
$.bind quote, 'mouseout', quotePreview.mouseout
mouseout: ->
return unless el = d.getElementById @hash[1..]
$.removeClass el, 'qphl'
$.removeClass el, 'qphl' if el = d.getElementById @hash[1..]
mouseover: (e) ->
id = @hash[1..]
qp = $ '#qp'