+ ui.winHeight, - ui.winWidth
This commit is contained in:
parent
363f799faa
commit
e323e97a90
@ -1718,7 +1718,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$.show(qp);
|
$.show(qp);
|
||||||
return ui.el = qp;
|
ui.el = qp;
|
||||||
|
return ui.winHeight = d.body.clientHeight;
|
||||||
},
|
},
|
||||||
parse: function(req, id, threadID) {
|
parse: function(req, id, threadID) {
|
||||||
var body, html, op, qp, reply, _i, _len, _ref;
|
var body, html, op, qp, reply, _i, _len, _ref;
|
||||||
@ -1958,8 +1959,7 @@
|
|||||||
el.src = this.parentNode.href;
|
el.src = this.parentNode.href;
|
||||||
$.show(el);
|
$.show(el);
|
||||||
ui.el = el;
|
ui.el = el;
|
||||||
ui.winHeight = d.body.clientHeight;
|
return ui.winHeight = d.body.clientHeight;
|
||||||
return ui.winWidth = d.body.clientWidth;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1368,6 +1368,7 @@ quotePreview =
|
|||||||
g.requests[threadID] = $.get @href, (-> quotePreview.parse this, id, threadID)
|
g.requests[threadID] = $.get @href, (-> quotePreview.parse this, id, threadID)
|
||||||
$.show qp
|
$.show qp
|
||||||
ui.el = qp
|
ui.el = qp
|
||||||
|
ui.winHeight = d.body.clientHeight
|
||||||
parse: (req, id, threadID) ->
|
parse: (req, id, threadID) ->
|
||||||
qp = $ '#qp'
|
qp = $ '#qp'
|
||||||
return unless qp.innerHTML is "Loading #{id}..."
|
return unless qp.innerHTML is "Loading #{id}..."
|
||||||
@ -1519,7 +1520,6 @@ imageHover =
|
|||||||
$.show el
|
$.show el
|
||||||
ui.el = el
|
ui.el = el
|
||||||
ui.winHeight = d.body.clientHeight
|
ui.winHeight = d.body.clientHeight
|
||||||
ui.winWidth = d.body.clientWidth
|
|
||||||
|
|
||||||
imgPreloading =
|
imgPreloading =
|
||||||
init: ->
|
init: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user