mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-10-02 11:50:39 +08:00
Duh, wrong spot.
This commit is contained in:
1 parent
2902eac2ef
commit
dde2dd848d
1 file changed
+2
-2
@@ -140,9 +140,9 @@ function buildPage(pageUrl) {
|
||||
}
|
||||
|
||||
function apiCall(call, postId) {
|
||||
var formData = new FormData();
|
||||
var apiUrl = new String();
|
||||
switch(call) {
|
||||
var formData = new FormData();
|
||||
var apiUrl = new String();
|
||||
case 'upmod':
|
||||
apiUrl = 'http://www.reddit.com/api/vote';
|
||||
formData.append('id',postId);
|
||||
|
||||
Reference in new issue
Block a user