or -> and, ui.el -> qp
This commit is contained in:
parent
a50254f543
commit
4140017c42
@ -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) {
|
||||
|
||||
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user