From 122ddfae5ca41b4b6aef3b0998afac2884ede931 Mon Sep 17 00:00:00 2001 From: Kerrick Long Date: Thu, 16 Jun 2011 23:59:19 -0500 Subject: [PATCH] brace in the wrong place --- popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup.js b/popup.js index b6bc7c6..a7f3be2 100644 --- a/popup.js +++ b/popup.js @@ -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? } - } }