mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-07-12 00:50:47 +08:00
brace in the wrong place
This commit is contained in:
@@ -171,6 +171,7 @@ function apiCall(call, postId) {
|
||||
default:
|
||||
console.warn('apiCall was called without a proper "call" argument.');
|
||||
break;
|
||||
}
|
||||
var api = new XMLHttpRequest();
|
||||
api.open('POST',apiUrl,false);
|
||||
api.send(formData);
|
||||
@@ -179,7 +180,6 @@ function apiCall(call, postId) {
|
||||
console.warn(api);
|
||||
// Todo: roll back changes?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user