position hovering elements on mouseover
This commit is contained in:
parent
a74f0a8526
commit
1ab233727e
10
4chan_x.js
10
4chan_x.js
@ -1850,9 +1850,10 @@
|
||||
}));
|
||||
}
|
||||
}
|
||||
$.show(qp);
|
||||
ui.el = qp;
|
||||
return ui.winHeight = d.body.clientHeight;
|
||||
ui.winHeight = d.body.clientHeight;
|
||||
$.show(qp);
|
||||
return ui.hover(e);
|
||||
},
|
||||
parse: function(req, id, threadID) {
|
||||
var body, html, op, qp, reply, _i, _len, _ref;
|
||||
@ -2087,9 +2088,10 @@
|
||||
el = $('#iHover');
|
||||
el.src = null;
|
||||
el.src = this.parentNode.href;
|
||||
$.show(el);
|
||||
ui.el = el;
|
||||
return ui.winHeight = d.body.clientHeight;
|
||||
ui.winHeight = d.body.clientHeight;
|
||||
$.show(el);
|
||||
return ui.hover(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -1465,9 +1465,10 @@ quotePreview =
|
||||
quotePreview.parse req, id, threadID
|
||||
else
|
||||
g.requests[threadID] = $.get @href, (-> quotePreview.parse this, id, threadID)
|
||||
$.show qp
|
||||
ui.el = qp
|
||||
ui.winHeight = d.body.clientHeight
|
||||
$.show qp
|
||||
ui.hover e
|
||||
parse: (req, id, threadID) ->
|
||||
qp = $ '#qp'
|
||||
return unless qp.innerHTML is "Loading #{id}..."
|
||||
@ -1616,9 +1617,10 @@ imageHover =
|
||||
el = $ '#iHover'
|
||||
el.src = null
|
||||
el.src = @parentNode.href
|
||||
$.show el
|
||||
ui.el = el
|
||||
ui.winHeight = d.body.clientHeight
|
||||
$.show el
|
||||
ui.hover e
|
||||
|
||||
imgPreloading =
|
||||
init: ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user