+ ui.winHeight, - ui.winWidth

This commit is contained in:
James Campos 2011-05-09 00:13:15 -07:00
parent 363f799faa
commit e323e97a90
2 changed files with 4 additions and 4 deletions

View File

@ -1718,7 +1718,8 @@
}
}
$.show(qp);
return ui.el = qp;
ui.el = qp;
return ui.winHeight = d.body.clientHeight;
},
parse: function(req, id, threadID) {
var body, html, op, qp, reply, _i, _len, _ref;
@ -1958,8 +1959,7 @@
el.src = this.parentNode.href;
$.show(el);
ui.el = el;
ui.winHeight = d.body.clientHeight;
return ui.winWidth = d.body.clientWidth;
return ui.winHeight = d.body.clientHeight;
}
}
};

View File

@ -1368,6 +1368,7 @@ quotePreview =
g.requests[threadID] = $.get @href, (-> quotePreview.parse this, id, threadID)
$.show qp
ui.el = qp
ui.winHeight = d.body.clientHeight
parse: (req, id, threadID) ->
qp = $ '#qp'
return unless qp.innerHTML is "Loading #{id}..."
@ -1519,7 +1520,6 @@ imageHover =
$.show el
ui.el = el
ui.winHeight = d.body.clientHeight
ui.winWidth = d.body.clientWidth
imgPreloading =
init: ->