mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +00:00
Fix typo
This commit is contained in:
parent
a1a1f9ccd5
commit
44fb66949e
@ -74,7 +74,7 @@ HttpClient.prototype.handleHttpRequest = function(event) {
|
||||
headers: requestHeaders,
|
||||
data: paramObject.body,
|
||||
callback: function(err,data,xhr) {
|
||||
var success = (xhr.status >= 200 || xhr.status < 300) ? "complete" : "error",
|
||||
var success = (xhr.status >= 200 && xhr.status < 300) ? "complete" : "error",
|
||||
headers = {};
|
||||
$tw.utils.each(xhr.getAllResponseHeaders().split("\r\n"),function(line) {
|
||||
var pos = line.indexOf(":");
|
||||
|
Loading…
Reference in New Issue
Block a user