xhr.responseText -> xhr.response
This commit is contained in:
parent
784cc6a8ae
commit
d851ecce2d
@ -727,7 +727,7 @@
|
||||
return;
|
||||
}
|
||||
doc = d.implementation.createHTMLDocument(null);
|
||||
doc.documentElement.innerHTML = req.responseText;
|
||||
doc.documentElement.innerHTML = req.response;
|
||||
Threading.op($('body > form', doc).firstChild);
|
||||
node = d.importNode(doc.getElementById(replyID));
|
||||
quotes = node.getElementsByClassName('quotelink');
|
||||
@ -832,7 +832,7 @@
|
||||
}
|
||||
a.textContent = a.textContent.replace('\u00d7 Loading...', '-');
|
||||
doc = d.implementation.createHTMLDocument(null);
|
||||
doc.documentElement.innerHTML = req.responseText;
|
||||
doc.documentElement.innerHTML = req.response;
|
||||
nodes = [];
|
||||
_ref = $$('.reply', doc);
|
||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||
@ -2583,7 +2583,7 @@
|
||||
}
|
||||
Updater.lastModified = this.getResponseHeader('Last-Modified');
|
||||
doc = d.implementation.createHTMLDocument(null);
|
||||
doc.documentElement.innerHTML = this.responseText;
|
||||
doc.documentElement.innerHTML = this.response;
|
||||
id = $('input', Updater.br.previousElementSibling).name;
|
||||
nodes = [];
|
||||
_ref = $$('.reply', doc).reverse();
|
||||
@ -3186,7 +3186,7 @@
|
||||
return;
|
||||
}
|
||||
doc = d.implementation.createHTMLDocument(null);
|
||||
doc.documentElement.innerHTML = req.responseText;
|
||||
doc.documentElement.innerHTML = req.response;
|
||||
node = id === threadID ? Threading.op($('body > form', doc).firstChild) : doc.getElementById(id);
|
||||
newInline = QuoteInline.table(id, node.innerHTML);
|
||||
_ref = $$('.quotelink', newInline);
|
||||
@ -3275,7 +3275,7 @@
|
||||
return;
|
||||
}
|
||||
doc = d.implementation.createHTMLDocument(null);
|
||||
doc.documentElement.innerHTML = req.responseText;
|
||||
doc.documentElement.innerHTML = req.response;
|
||||
node = id === threadID ? Threading.op($('body > form', doc).firstChild) : doc.getElementById(id);
|
||||
qp.innerHTML = node.innerHTML;
|
||||
post = {
|
||||
|
||||
@ -626,7 +626,7 @@ ExpandComment =
|
||||
return
|
||||
|
||||
doc = d.implementation.createHTMLDocument null
|
||||
doc.documentElement.innerHTML = req.responseText
|
||||
doc.documentElement.innerHTML = req.response
|
||||
|
||||
Threading.op $('body > form', doc).firstChild
|
||||
# Import the node to fix quote.hashes
|
||||
@ -711,7 +711,7 @@ ExpandThread =
|
||||
a.textContent = a.textContent.replace '\u00d7 Loading...', '-'
|
||||
|
||||
doc = d.implementation.createHTMLDocument null
|
||||
doc.documentElement.innerHTML = req.responseText
|
||||
doc.documentElement.innerHTML = req.response
|
||||
|
||||
nodes = []
|
||||
for reply in $$ '.reply', doc
|
||||
@ -2194,7 +2194,7 @@ Updater =
|
||||
Updater.lastModified = @getResponseHeader 'Last-Modified'
|
||||
|
||||
doc = d.implementation.createHTMLDocument null
|
||||
doc.documentElement.innerHTML = @responseText
|
||||
doc.documentElement.innerHTML = @response
|
||||
|
||||
id = $('input', Updater.br.previousElementSibling).name
|
||||
nodes = []
|
||||
@ -2646,7 +2646,7 @@ QuoteInline =
|
||||
return
|
||||
|
||||
doc = d.implementation.createHTMLDocument null
|
||||
doc.documentElement.innerHTML = req.responseText
|
||||
doc.documentElement.innerHTML = req.response
|
||||
|
||||
node =
|
||||
if id is threadID #OP
|
||||
@ -2720,7 +2720,7 @@ QuotePreview =
|
||||
return
|
||||
|
||||
doc = d.implementation.createHTMLDocument null
|
||||
doc.documentElement.innerHTML = req.responseText
|
||||
doc.documentElement.innerHTML = req.response
|
||||
|
||||
node =
|
||||
if id is threadID #OP
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user