or -> and, ui.el -> qp

This commit is contained in:
James Campos 2011-07-20 22:05:53 -07:00
parent a50254f543
commit 4140017c42
2 changed files with 2 additions and 2 deletions

View File

@ -2182,7 +2182,7 @@
},
parse: function(req, id, threadID) {
var body, html, op, qp, reply, _i, _len, _ref;
if (!(qp = ui.el || ui.el.innerHTML === ("Loading " + id + "..."))) {
if (!(qp = ui.el && qp.innerHTML === ("Loading " + id + "..."))) {
return;
}
if (req.status !== 200) {

View File

@ -1684,7 +1684,7 @@ quotePreview =
$.removeClass el, 'qphl' if el = d.getElementById @hash[1..]
ui.hoverend()
parse: (req, id, threadID) ->
return unless qp = ui.el or ui.el.innerHTML is "Loading #{id}..."
return unless qp = ui.el and qp.innerHTML is "Loading #{id}..."
if req.status isnt 200
qp.innerHTML = "#{req.status} #{req.statusText}"